UC8151: Invert by default..
This commit is contained in:
parent
e3f98d56cf
commit
6b232ddb30
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue