Remove unneeded clearBuffer

This commit is contained in:
servadmin 2021-11-06 22:36:20 -04:00
parent 7f95cc3811
commit b9ad4a4b88
2 changed files with 0 additions and 2 deletions

View File

@ -22,7 +22,6 @@ int main()
{
u8g2.setGpioChip(GPIO_CHIP_NUM);
u8g2.begin();
u8g2.clearBuffer(); // clear the internal memory
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

View File

@ -16,7 +16,6 @@ int main(void)
{
u8g2.setGpioChip(GPIO_CHIP_NUM);
u8g2.begin();
u8g2.clearBuffer(); // clear the internal memory
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