UC8151: Invert by default..

This commit is contained in:
Phil Howard 2022-06-23 16:12:58 +01:00
parent e3f98d56cf
commit 6b232ddb30
2 changed files with 2 additions and 2 deletions

View File

@ -381,7 +381,7 @@ namespace pimoroni {
}); });
command(TCON, {0x22}); // tcon setting command(TCON, {0x22}); // tcon setting
command(CDI, {(uint8_t)(inverted ? 0b01'01'1100 : 0b01'00'1100)}); // vcom and data interval command(CDI, {(uint8_t)(inverted ? 0b10'01'1100 : 0b01'00'1100)}); // vcom and data interval
command(PLL, { command(PLL, {
HZ_100 HZ_100

View File

@ -138,7 +138,7 @@ namespace pimoroni {
uint RESET = PIN_UNUSED; uint RESET = PIN_UNUSED;
uint8_t update_speed = 0; uint8_t update_speed = 0;
bool inverted = false; bool inverted = true; // Makes 0 black and 1 white, as is foretold.
bool blocking = true; bool blocking = true;
public: public: