Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

LCD weird problem

Status
Not open for further replies.

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:

Code:
#define SHIFTLCD(DATA) ((DATA & 0x3FFF) + ((DATA & 0xC000)<<1));
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
 

Attachments

  • SDLCDNAV2.zip
    33.8 KB · Views: 109
Last edited:
I think i found a problem heh. I never connected 3.3v to my LCD or Boost . So its being powered from pins. I hope placing a wire from 3.3v to this trace fixes it all heh
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top