AtomSoft
Well-Known Member
Hey guys im having the weirdest issue with my Rev 2 of the Image Viewer. I can draw a box and looks good but i cant seem to draw text anymore? It blacks out my screen.
Its basically the same code as version 1 but i moved bit 14 and 15 over so now the lcd bits are P0.0 to P0.13 and last 2 bits are P0.15 to P0.16. To send data i use the same code but now i shift a little:
This shifts the data and returns it. I see this works in debugging also because i can draw a box perfect and init the lcd. But now the string printing blacks out the LCD. I dont know why. I think it may be hardware issue so i took high res pics and here they are:
LCD SIDE
https://atomsoft.files.wordpress.com/2010/12/lcds.jpg
BOTTOM SIDE
https://atomsoft.files.wordpress.com/2010/12/lcdb.jpg
I attached my current code... schematic here:
https://atomsoft.files.wordpress.com/2010/12/schemrv2.png
Its basically the same code as version 1 but i moved bit 14 and 15 over so now the lcd bits are P0.0 to P0.13 and last 2 bits are P0.15 to P0.16. To send data i use the same code but now i shift a little:
Code:
#define SHIFTLCD(DATA) ((DATA & 0x3FFF) + ((DATA & 0xC000)<<1));
LCD SIDE
https://atomsoft.files.wordpress.com/2010/12/lcds.jpg
BOTTOM SIDE
https://atomsoft.files.wordpress.com/2010/12/lcdb.jpg
I attached my current code... schematic here:
https://atomsoft.files.wordpress.com/2010/12/schemrv2.png
Attachments
Last edited: