clear()
Description
Clear the whole screen with the background color setted with setColor()
Example
main.cpp
#include "Pokitto.h"
void update() {
using PD = Pokitto::Display;
PD::setColor(0, 3);
PD::clear(); //Clear with backcolor 3
PD::fillRectangle(42, 42, 42, 42); //Draw Rectangle with color 0
}
Project settings
My_settings.h
#define PROJ_SCREENMODE MODE15
