Steps to reproduce:
- Load
Inkplate2_Peripheral_Mode from InkplateLibrary examples
- clear display, add
hello world text and display framebuffer via serial, eg.:
#K(1)*
#C("48454c4c4f20574f524c44")*
#L(1)*
- Observer blank white screen after refresh
Workaround: Add text color command, e.g.:
case 'H':
// Set text and background color
sscanf(s + 3, "%d,%d", &foreGroundColor, &backGroundColor);
display.setTextColor(foreGroundColor, backGroundColor);
break;
Then:
- clear display, set text color, add
hello world text and display framebuffer via serial, eg.:
#K(1)*
#H(2,0)*
#C("48454c4c4f20574f524c44")*
#L(1)*
- Observe red 'HELLO WORLD' text on white background after refresh
Also the documentation lacks the setTextColor method:
