fillScreen(uint16_t color)
Description
Fill the whole screen with the selected color index of the actual palette.
Example
main.cpp
#include "Pokitto.h"
int color = 0;
void update() {
using PD = Pokitto::Display;
//fill all screen with one color
PD::fillScreen((color / 10) % 16);
color++;
}
Project settings
My_settings.h
#define PROJ_SCREENMODE MODE15