GithubHelp home page GithubHelp logo

olikraus / dogm128 Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 6.0 6.84 MB

Automatically exported from code.google.com/p/dogm128

License: Other

Makefile 18.52% C 71.02% C++ 4.16% Processing 6.15% Python 0.12% Shell 0.03%

dogm128's People

Contributors

olikraus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dogm128's Issues

split dogm128.c into several files

idea: only required functions are added to the controler

dogm128i.c init/system functions
dogm128s.c graphics primitives set functions
dogm128c.c graphics primitives clear functions
dogm128x.c graphics primitives xor functions
dogm128d.c draw functions
dogm128m.c math functions AND arc/circle functions
dogm127f.c font/char/string

Original issue reported on code.google.com by [email protected] on 13 Jul 2010 at 5:15

hw circuit for the display


check the following circuit.

http://gallery.mikrokopter.de/main.php/v/uploads/dogm128.png.html?
g2_imageViewsIndex=1

resistors instead of the HC4050, pol. caps!

Original issue reported on code.google.com by [email protected] on 9 Feb 2010 at 10:11

avr (attiny) release

dogm128 without arduino
- implement SPI interface
- generic Makefile
- config Ports via Makefile
- port examples
- create schematics
- create c-code reference manual 

Original issue reported on code.google.com by [email protected] on 22 Aug 2010 at 6:42

correct dogm128.h line 30ff

check if
#define DOGM128_HW  /* uncomment for the DOGM128 display */
//#define DOGS102_HW        /* uncomment for the DOGS102 display */
//#define DOGM132_HW    /* uncomment for the DOGM132 display */

can be
//#define DOGM128_HW    /* uncomment for the DOGM128 display */
//#define DOGS102_HW        /* uncomment for the DOGS102 display */
//#define DOGM132_HW    /* uncomment for the DOGM132 display */

everything should still default to dogm128_HW but doing so, allows to set
the define statements in a makefile with -D

Original issue reported on code.google.com by [email protected] on 21 Aug 2010 at 11:57

support bitmaps


support bitmaps produced by

http://code.google.com/p/lcd-bitmap-converter/

Original issue reported on code.google.com by [email protected] on 8 Feb 2010 at 9:14

rewrite arc function

rewrite arc function
http://en.wikipedia.org/wiki/Midpoint_circle_algorithm
also implement atan2

Original issue reported on code.google.com by [email protected] on 18 Jul 2010 at 5:28

attiny port: todo's

the following is needed:
- reference manual for all c-functions
- description of the setup of the toolchain (unix)
- definition and description of the attiny release
- description of the current hardware

Original issue reported on code.google.com by [email protected] on 29 Aug 2010 at 3:22

release testing v1.04

this is a place holder for the future v1.04 release testing

The following tests should be performed:
- check if examples are ok in the arduino IDE

Original issue reported on code.google.com by [email protected] on 21 Aug 2010 at 12:05

Implement init-interface for specific hardware

Problem: 
Currently the support of the 3.3 volt single supply hw-configuration is 
hard coded.

Solution:
Add interface to allow any init sequence: C-Array, where the first element 
contains the number of element

Question:
Should it be a PGM_P array?

Original issue reported on code.google.com by [email protected] on 8 Feb 2010 at 7:48

  • Merged into: #25

check for more fonts

check, there are any more free fonts:
www.alvit.de/blog/article/25-best-license-free-pixelfonts

Original issue reported on code.google.com by [email protected] on 22 Aug 2010 at 10:42

Breakorino pushbutton

/*

  Breakorino

  A break out game for dogm128 graphics module.
  Written by Oliver Kraus

  Button control and backlight PWM modified by Alec N.

  SCL (SPI Clock)   Pin 13
  SI (MOSI)         Pin 11
  CS (Chip Select)  Pin 10

  Note: MISO (Pin 12) is not used, but can not be reused as generic I/O

*/

#include <Dogm.h>

#ifdef DOGM132_HW
#error Breakorino can not be used on a DOGM132 display
#endif


int a0Pin = 9;      // address line a0 for the dogm module
int right_btn = 4;
int left_btn = 2;
int up_btn = 5;
int down_btn = 3;

int LCD_backlight = 6;

int sensorValue=0;
int LCD_bright=127;

// initialize the dogm library
Dogm dogm(a0Pin);


void setup() {
  pinMode(right_btn,INPUT);
  pinMode(left_btn,INPUT);
  pinMode(up_btn,INPUT);
  pinMode(down_btn,INPUT);

  digitalWrite(right_btn, HIGH); //enable pullup resistor
  digitalWrite(left_btn, HIGH);  //enable pullup resistor
  digitalWrite(up_btn, HIGH);    //enable pullup resistor
  digitalWrite(down_btn, HIGH);  //enable pullup resistor

  pinMode(LCD_backlight,OUTPUT);
  analogWrite(LCD_backlight,LCD_bright);  

  sensorValue=0;
  bo_Setup(0);
}

void loop() {

  dogm.start();
  do{
    bo_Draw();
  } while( dogm.next() );
  dog_delay(1);
  if ((digitalRead(left_btn)==LOW) && (sensorValue>=16)) sensorValue-=16;
  if ((digitalRead(right_btn)==LOW) && (sensorValue<1008)) sensorValue+=16;

  bo_SetX(sensorValue>>2);
  bo_Step(); 

  // backlight control
  if ((digitalRead(up_btn)==LOW) && (LCD_bright<255)) LCD_bright++;
  if ((digitalRead(down_btn)==LOW) && (LCD_bright>0)) LCD_bright--;
  analogWrite(LCD_backlight,LCD_bright);  

}



Original issue reported on code.google.com by [email protected] on 28 Aug 2010 at 10:08

release v1.05


- release testing
- check if DOG_REVERSE works with all available displays
- write install instructions with DOG_REVERSE

Original issue reported on code.google.com by [email protected] on 7 Sep 2010 at 9:00

new Breakorino level

... with a new type of bricks

already implemented and added here to have a complete list of changes per 
release...

Original issue reported on code.google.com by [email protected] on 4 Aug 2010 at 7:23

keywords.txt

1. clean up cpp interface (lowercase verb)
2. add function names to keywords.txt


Original issue reported on code.google.com by [email protected] on 9 Feb 2010 at 8:08

use DOG_WIDTH everywhere

still, sometimes 128 or 127 is used for the number of pixels per line.
this should be replaced by DOG_PAGE_WIDTH

Original issue reported on code.google.com by [email protected] on 1 Aug 2010 at 6:03

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.