void setup() { // Carrega a fonte Arial com metade do tamanho da tela textFont(createFont("Arial", width/2)); // Alinha o texto textAlign(CENTER, BASELINE); } void draw() { // Limpa a tela background(100); // Exibe a tecla pressionada text(key, width/2, height/2); }