Are you using the live version that could be found here ?
What type of issue is it ?
I'm using a Digispark board and I encountered a type issue when compiling:
cannot convert 'const __FlashStringHelper*' to 'fstr_t*' for argument '1' to 'void printText(fstr_t*)'
It seems that the function printText() expects a wrong type of argument fstr_t
void printText(fstr_t *txt) {
DigiKeyboard.print(txt);
DigiKeyboard.update();
}
If fstr_t is replaced by __FlashStringHelper the code compiles and works fine. The function was introduced in this commit (line 255)
Fixed function:
void printText(__FlashStringHelper *txt) {
DigiKeyboard.print(txt);
DigiKeyboard.update();
}
I don't know If this is the correct solution to the problem and it would be great if it could be reviewed. Thanks in advance!
Are you using the live version that could be found here ?
What type of issue is it ?
I'm using a Digispark board and I encountered a type issue when compiling:
It seems that the function
printText()expects a wrong type of argumentfstr_tIf
fstr_tis replaced by__FlashStringHelperthe code compiles and works fine. The function was introduced in this commit (line 255)Fixed function:
I don't know If this is the correct solution to the problem and it would be great if it could be reviewed. Thanks in advance!