Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
VAR temp, light;
PROC dashboard() {
temp = TEMP_SENSOR();
light = LIGHT_SENSOR();
IF temp > 30 OR light < 50 THEN LED_ON(); ELSE LED_OFF();
PRINT("Temp: ", temp, ", Light: ", light);
}
dashboard();
dashboard();Coding works best on desktop or with an external keyboard.