<< Back

Exercise 2.3 - Display

c) Control the heat with the hardware button

This is the console. All output created with writeLog() is shown here.

Use the hardware button to navigate through the different actions. Press and hold for 2 seconds to perform an action.


script.js

This is the JavaScript code behind the above application.