2.3 Display
This exercise extends our app's capabilities with a 128x64 display.
Last updated
Was this helpful?
This exercise extends our app's capabilities with a 128x64 display.
Last updated
Was this helpful?
Welcome any new users to your application and show a welcome message on the OLED display on startup of your app.
Possible solution:
After 5 seconds, remove the welcome message from a) and reserve the first two rows to display the temperature and humidity. Update the values in an appropriate interval. Make sure you format the values so that they are readable and include units of measurements.
Possible solution:
Imagine a user of your app should be able to perform 3 different actions using the hardware devices. The actions are:
Turn down heat
Turn up heat
Improve your app's version from b) and reserve the lines 4 and 5 to display each action in a separate row. Indicate by a small arrow ">" that the first option is initially active. The user should now be able to navigate through the different options by pressing and releasing the hardware button. With every button press, the ">" should move to the next action, and when the last one is active, start over at the beginning.
To perform an action, the user should press and hold the hardware button for at least half a second. To simulate the status of the heat and its current level, reserve line 7 to display a number of symbols (for example a pipe: |) to indicate the current heat level in 10 discrete steps.
Possible solution:
Visualize the temperature on the display. Create a character-based visualization every 5 seconds and use for displaying the temperature. Move the visualization from left to right with every new value, so the user can see a snapshot of the temperature's history.
Possible solution: