Commit f02b09a3 authored by Bodmer's avatar Bodmer

Update ILI9481 init code as in #2120

parent 3c6dab0a
...@@ -21,8 +21,14 @@ ...@@ -21,8 +21,14 @@
writedata(0x66); // 18 bit colour interface writedata(0x66); // 18 bit colour interface
#endif #endif
writecommand(0xC2); writecommand(0xC0); // 1100.0000 Power Control 1
writedata(0x44); writedata(0x0E); // 0001.0111 ... VRH1
writedata(0x0E); // 0001.0101 ... VRH2
writecommand(0xC1); // 1100.0001 Power Control 2
writedata(0x41); // 0100.0001 . SAP BT
writedata(0x00); // 0000.0000 ..... VC
writecommand(0xC2); // 1100.0010 Power Control 3
writedata(0x55); // nb. was 0x44 0101.0101 . DCA1 . DCA0
writecommand(0xC5); writecommand(0xC5);
writedata(0x00); writedata(0x00);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment