Why is Temp: 0.0?
import ketai.sensors.*;
KetaiSensor sensor;
float temp;
void setup()
{
fullScreen();
sensor = new KetaiSensor(this);
sensor.start();
sensor.list();
orientation(LANDSCAPE);
textAlign(CENTER);
textSize(displayDensity * 28);
}
void draw(){
background(78, 93, 75);
text("Temp: " + temp, width/2, height/2);
}
void onTemperatureEvent(float tempe){
temp = tempe;
}