goodmanrs / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

Nokia 5110 w PCD8544 no show #247

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Windows 7, Atmel Studio, Visual Micro, Arduino Nano.
Simple app to get the display working.
Display is Nokia 5110. This has a PCD8544 proc.
Using ADAFruit drivers with same pin connections it works correctly. Pity. The 
drivers are lean but too mean for my liking.
Using u8glib drivers the display initializes, I can see the screen invert 
toggle during initialization, then just a blank screen. Nothing is written to 
it or is displayed. Otherwise program is running fine, so no hangup or memory 
corruptions.
Modified the u8glib initialization to match Ada scheme - no change. Another mod 
to match another expert - no change. Seems initialization is not the problem. 
Somewhere in the draw procedures but I can't find it and I tried hard enough. 
Any clues????

Original issue reported on code.google.com by john.fit...@gmail.com on 28 Mar 2014 at 7:30

Attachments:

GoogleCodeExporter commented 8 years ago
Solved - pins MOSI and CS swapped. Adafruit calls them DIN and DC so its a very 
easy error to go unnoticed. The library is *good*. 

Original comment by john.fit...@gmail.com on 28 Mar 2014 at 9:18

GoogleCodeExporter commented 8 years ago
Correction - pins CS and A0 swapped. Adafruit calls them DC and CS. 

Original comment by john.fit...@gmail.com on 28 Mar 2014 at 9:21

GoogleCodeExporter commented 8 years ago
ok, thanks for updating this issue.

Original comment by olikr...@gmail.com on 28 Mar 2014 at 10:40

GoogleCodeExporter commented 8 years ago
closing...

Original comment by olikr...@gmail.com on 16 Jun 2014 at 7:11