GPC Developer Guides
Advanced Samples
Custom OLED Buttons
with the following example from taylordrift21 you are able to make and display custom buttons to be displayed on the oled with your gpc script gpc int update = true; init { cls oled(0); } main { if(update){ cls oled(0); rect oled(0,0, oled width, oled height, oled black, oled white); printbutton(30,20,ascii upper a) ; printbutton(50,20,ascii upper y) ; printbutton(70,20,ascii upper x) ; printbutton(90,20,ascii upper b) ; update = false; } } function printbutton(fhorizontal,fvertical,fbutton){ circle oled(fhorizontal + 3,fvertical + 4,7,1,1); putc oled(1,fbutton) puts oled(fhorizontal,fvertical,0,1,0); }