olikraus / dogm128 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/dogm128
License: Other
Automatically exported from code.google.com/p/dogm128
License: Other
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
arduino is out, check installation
Original issue reported on code.google.com by [email protected]
on 9 Feb 2010 at 8:09
#define DOG_HW_M128
#define DOG_HW_S102
#define DOG_HW_M132
--> .h file
Original issue reported on code.google.com by [email protected]
on 2 Aug 2010 at 10:07
like VLine function... first step to a bitmap h line function
Original issue reported on code.google.com by [email protected]
on 13 Jul 2010 at 5:18
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
create a picture from the schematic, write a wiki page
also for breakorino
Original issue reported on code.google.com by [email protected]
on 9 Feb 2010 at 11:26
remember last reflected object and avoid further reflections.
Original issue reported on code.google.com by [email protected]
on 22 Aug 2010 at 6:37
consider trade off...
Original issue reported on code.google.com by [email protected]
on 17 Jul 2010 at 7:35
For Arduino, there might be two options:
- change the macro in dogm128.h
- make a special release for S102 and M132
Original issue reported on code.google.com by [email protected]
on 2 Aug 2010 at 10:29
Problem:
line and arc drawing is not yet part of the C++ interface. I guess, that
also the C-Interface requires a clean up
Original issue reported on code.google.com by [email protected]
on 8 Feb 2010 at 7:50
INSTALL.TXT and wiki page
Original issue reported on code.google.com by [email protected]
on 3 Sep 2010 at 9:36
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
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
Breakorino:
- add compiler error if DOGM132 defined
Original issue reported on code.google.com by [email protected]
on 4 Aug 2010 at 5:40
how to use bdf2dogm
how to compile bdf2dogm
how to include new fonts
Original issue reported on code.google.com by [email protected]
on 11 Feb 2010 at 11:15
hmmm should be available...
Original issue reported on code.google.com by [email protected]
on 9 Feb 2010 at 10:22
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
e.g.
dog_delay --> dog_Delay
dog_init --> dog_Init
...
remember to update c-reference (wiki)
Original issue reported on code.google.com by [email protected]
on 29 Aug 2010 at 8:04
... for less mem usage if Print is not required
Original issue reported on code.google.com by [email protected]
on 15 Jul 2010 at 7:27
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
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
--
Original issue reported on code.google.com by [email protected]
on 15 Jul 2010 at 8:52
If new HW is supported in the next release, the HW should be described on the
wiki page.
Original issue reported on code.google.com by [email protected]
on 2 Aug 2010 at 10:24
the string width function is only available in c
it should be in c++ also, together with a description
Original issue reported on code.google.com by [email protected]
on 7 Apr 2010 at 8:31
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
- write wiki page for breakorino
Original issue reported on code.google.com by [email protected]
on 11 Feb 2010 at 11:16
add dog_Delay to the wiki
Original issue reported on code.google.com by [email protected]
on 31 Aug 2010 at 6:48
wiki change
Original issue reported on code.google.com by [email protected]
on 16 Aug 2010 at 10:11
put these two tables into flash (dogmov.c)
Original issue reported on code.google.com by [email protected]
on 7 Sep 2010 at 9:08
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
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
--
Original issue reported on code.google.com by [email protected]
on 15 Jul 2010 at 8:48
/*
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 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
in general the library should be hardware independent. Introduce a device
dependent file (like spi.c)
Original issue reported on code.google.com by [email protected]
on 15 Aug 2010 at 12:39
...
Original issue reported on code.google.com by [email protected]
on 15 Jul 2010 at 8:54
- integer version
- step to get more independent from arduino OS
Original issue reported on code.google.com by [email protected]
on 16 Aug 2010 at 7:25
GraphicsTest:
- may need to move some text down so it is visible on DOGM132 ??
Original issue reported on code.google.com by [email protected]
on 4 Aug 2010 at 5:39
... 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
a) developer pages should be prefixed somehow
b) naming convention for the c-files
Original issue reported on code.google.com by [email protected]
on 2 Aug 2010 at 11:41
write some wiki doks for the installation procedure
Original issue reported on code.google.com by [email protected]
on 8 Feb 2010 at 9:00
put dog_sin table into PROGMEM (dogmma.c)
Original issue reported on code.google.com by [email protected]
on 15 Jul 2010 at 4:47
controlled by #define statements
Original issue reported on code.google.com by [email protected]
on 16 Aug 2010 at 7:30
.. to describe the C++ and C interface
Original issue reported on code.google.com by [email protected]
on 9 Feb 2010 at 10:26
- check all examples
- for all supported displays
Original issue reported on code.google.com by [email protected]
on 16 Aug 2010 at 10:08
Add test procedure for the invert pixel mode into the GraphicsTest example
Original issue reported on code.google.com by [email protected]
on 1 Sep 2010 at 7:17
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
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
see .h file
Original issue reported on code.google.com by [email protected]
on 15 Jul 2010 at 8:53
Clr and Xor should be implemented for the next release...
Original issue reported on code.google.com by [email protected]
on 4 Aug 2010 at 7:21
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.