I've just received a NHD-2.7-12864WDW3 and can't get it to light up a single pixel...
I've wired it as :
1 : GND
2 : +3V3
3 : not connected
4 : GPIO output (D/C)
5 : GND because I intend to write only on the screen (using timings on "Enable" instead of reading the response from the screen)
6 : GPIO output (EN)
7-14 : D0-D7 GPIO outputs (used as 6800 parallel interface)
15 : not connected
16 : +3V3 (I suppose I can never reset the screen ?)
17 : GND
18 : not connected
19 : +3V3
20 : +3V3 (to use the 6800 parallel interface)
I don't know where I'm wrong but with this wiring nothing happens...
I tried an initialisation sequence such as :
WriteCommand(0xAE); (display OFF)
WriteCommand(0xC1); (set contrast)
WriteCommand(0xA5); (set display mode as all LEDs lit up)
WriteCommand(0xAF); (display ON)
But still nothing...
I tested WriteCommand with leds and it outputs the rigth binary data...
Just in case, I maintain Enable LOW during 10µs for each command and wait 5ms between each command. (Which far exceed the datasheet timing)
I know I'm getting something wrong but I can't find what's going on !
Is there a simpler way to light the screen to check if my wiring is correct ?
I think the code should be correct because I ran a Hitachi HD44780-based LCD screen with pretty much the same code (just changed the commands)...
Thanks a lot for your future answer !
Please sign in to leave a comment.