Forked from Neal Horman: Adafruit_GFX, a derived version of the BSD licensed Adafrut GFX library for the SSD1306 controller for an OLED 128x32 or 128x64 display using SPI or I2C. Now it is adopted also for the SH1106 I2C 128x64 display as well...
Dependents: Lab06_oled_i2c Lab06_BME280_oled Lab06_oled_clock I2C_SSD1306andSH1106_nucleo_F446RE
Diff: Adafruit_GFX.h
- Revision:
- 19:1b773847a04b
- Parent:
- 14:edb3c36aa1a7
- Child:
- 20:da33cca77ce5
diff -r 42f7e3e98a29 -r 1b773847a04b Adafruit_GFX.h --- a/Adafruit_GFX.h Tue Feb 01 14:21:30 2022 +0000 +++ b/Adafruit_GFX.h Tue Feb 01 15:20:21 2022 +0000 @@ -165,7 +165,7 @@ /// Set text wraping mode true or false inline void setTextWrap(bool w) { wrap = w; }; - /// Set the display rotation, 1, 2, 3, or 4 + /// Set the display rotation, 0, 1, 2, or 3 void setRotation(uint8_t r); /// Get the current rotation inline uint8_t getRotation(void) { rotation %= 4; return rotation; };