Tiny4kOLED: Digistump board doesn't define __FlashStringHelper
Arduino: 1.8.12 (Windows 7), Board: “Digispark (Default - 16.5mhz)”
In file included from E:\SkyRanger\Eigene Dateien\Arduino\libraries\Tiny4kOLED-1.5.0\src/Tiny4kOLED_Wire.h:12:0,
from E:\SkyRanger\Eigene Dateien\Arduino\libraries\Tiny4kOLED-1.5.0\src/Tiny4kOLED.h:19,
from R:\Arduino\DigisparkOLED_\DigisparkOLED_.ino:2:
E:\SkyRanger\Eigene Dateien\Arduino\libraries\Tiny4kOLED-1.5.0\src/Tiny4kOLED_common.h:74:59: error: '__FlashStringHelper' does not name a type
void clipText(uint16_t startPixel, uint8_t width, const __FlashStringHelper *text);
^
E:\SkyRanger\Eigene Dateien\Arduino\libraries\Tiny4kOLED-1.5.0\src/Tiny4kOLED_common.h:74:80: error: ISO C++ forbids declaration of 'text' with no type [-fpermissive]
void clipText(uint16_t startPixel, uint8_t width, const __FlashStringHelper *text);
^
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 23 (13 by maintainers)
I’m considering replacing
const __FlashStringHelperin Tiny4kOLED_common.h and Tiny4kOLED.cpp withDATACUTE_F_MACRO_Tdefined in Tiny4kOLED_common.h as