Remove u8g2.setPowerSave(0)
This commit is contained in:
parent
0fa218cdca
commit
048d96af54
|
@ -18,7 +18,6 @@ int main()
|
|||
{
|
||||
u8g2.begin();
|
||||
u8g2.clearBuffer(); // clear the internal memory
|
||||
u8g2.setPowerSave(0);
|
||||
u8g2.setFont(u8g2_font_6x13_tr); // choose a suitable font
|
||||
u8g2.drawStr(1, 18, "U8g2 on HW SPI"); // write something to the internal memory
|
||||
u8g2.sendBuffer(); // transfer internal memory to the display
|
||||
|
|
|
@ -20,7 +20,6 @@ int main()
|
|||
{
|
||||
u8g2.begin();
|
||||
u8g2.clearBuffer(); // clear the internal memory
|
||||
u8g2.setPowerSave(0);
|
||||
u8g2.setFont(u8g2_font_6x13_tr); // choose a suitable font
|
||||
u8g2.drawStr(1, 18, "U8g2 on SW SPI"); // write something to the internal memory
|
||||
u8g2.sendBuffer(); // transfer internal memory to the display
|
||||
|
|
|
@ -7,7 +7,6 @@ int main(void)
|
|||
{
|
||||
u8g2.begin();
|
||||
u8g2.clearBuffer(); // clear the internal memory
|
||||
u8g2.setPowerSave(0);
|
||||
u8g2.setFont(u8g2_font_6x13_tr); // choose a suitable font
|
||||
u8g2.drawStr(1, 18, "U8g2 on HW I2C"); // write something to the internal memory
|
||||
u8g2.sendBuffer(); // transfer internal memory to the display
|
||||
|
|
|
@ -14,7 +14,6 @@ int main(void)
|
|||
{
|
||||
u8g2.begin();
|
||||
u8g2.clearBuffer(); // clear the internal memory
|
||||
u8g2.setPowerSave(0);
|
||||
u8g2.setFont(u8g2_font_6x13_tr); // choose a suitable font
|
||||
u8g2.drawStr(1, 18, "U8g2 on SW I2C"); // write something to the internal memory
|
||||
u8g2.sendBuffer(); // transfer internal memory to the display
|
||||
|
|
Loading…
Reference in New Issue