View Full Version : circles and lines

04-29-2008, 04:39 AM
I have this monitor without any "video memory"...my propeller is attached to 3 X 24CF1025 so I was thinking to use one of those as place where I create the picture and show it on the display.
The problem is that if I want to draw a line, then I have to map all "points" into mem locations and then push everything to the display. Of course it will take time.

Do you think this is the right way to do it? Consider that display would allow me to turn a pixel on and of and it does not need refresh to keep it in that way. It is eInk so each pixel will mantain the status till I want to change it.

There is any tecnique?

Same proble is when I wan to use "chars". I have loaded a b/w font into one of the eeprom and I want to use it to write on the screen. The command I can send to the display are just like "fill up" are (x1,y1-x2,y2) to reflect a sequence of byte (1 means turn pixel on, 0 turn pixel off).

I believe someone else had same problem already....any good piece of adviece for me?

Paul Baker
04-29-2008, 06:15 AM
If the driver for the eink display does not provide primative graphics routines you will have to create them externally, and the only way to affect the display is pixel by pixel. Writing the graphics routines in assembly will go quite a ways to speeding up the process. There are tried and true methods for generating graphics primatives so it should be more of an issue of porting the code over.

Paul Baker (mailto:pbaker@parallax.com)
Propeller Applications Engineer
[/url][url=http://www.parallax.com] (http://www.parallax.com)
Parallax, Inc. (http://www.parallax.com)

04-29-2008, 06:29 AM
display is 800x600...I think I have to use an external eeprom to build the image...I guess is going to be fun :)