Resit project for target localisation
Diff: N5110.cpp
- Revision:
- 52:7bad54552502
- Parent:
- 51:32f9ffeafb6d
--- a/N5110.cpp Wed Jan 22 13:17:33 2020 +0000 +++ b/N5110.cpp Fri Feb 04 23:40:11 2022 +0000 @@ -56,8 +56,9 @@ void N5110::init() { turnOn(); // power up + wait_ms(10); // small delay seems to prevent spurious pixels during mbed reset reset(); // reset LCD - must be done within 100 ms - initSPI(); + // initSPI(); setContrast(0.55); // this may need tuning (say 0.4 to 0.6) setBias(3); // datasheet - 48:1 mux - don't mess with if you don't know what you're doing! (0 to 7)