Adafruit-GFX porting for mbed OS6. Needed to add #include "Stream.h" in beginning of the Adafruit_GFX.h
Dependents: ollin-ja-samin-hieno-ihmislaskin MCLAB10 OLEDrgb_MP OLEDrgb_MIC3_L432KC_OS6_hk McLab10_OLEDrgb_L432KC_OS60_tk2
Diff: Adafruit_GFX.h
- Revision:
- 4:ca74c390a0de
- Parent:
- 3:3ffdf181555c
- Child:
- 5:27c133247105
diff -r 3ffdf181555c -r ca74c390a0de Adafruit_GFX.h --- a/Adafruit_GFX.h Tue May 27 10:47:49 2014 +0000 +++ b/Adafruit_GFX.h Tue Jun 23 16:47:37 2015 +0000 @@ -153,7 +153,9 @@ int16_t width(void) { return _width; }; - void setRotation(uint8_t r); + void setRotation(uint8_t r) { + rotation = r; + } uint8_t getRotation(void) { rotation%=4;