|
META TOPICPARENT |
name="Exercises" |
Exercise 10: A TFT Display and the ST7735 display controller
Introduction |
|
Exercise 5: A new GUI element (bonus point) |
|
< < | Create a new "scale" GUI element showing a scale. This should can be used e.g. to create a Voltmeter making use of the ESP32 ADC. |
> > | Create a voltmeter application to measure voltages. You will need a new Scale GUI element similar to the nanogui Dial, but designed by yourself, which displays the voltage read from an ADC. Values to be displayed must range from 0 to 5V. The photo below shows the voltmeter, reading a voltage of 1V.
 |
| Exercise 6: Super Mario, a bit of a challenge!
Two simple arcade games come with the SD1351 driver demos. One of them is a Super Mario game, which however is based on hardware we don't have. As far as I can see they use a joystick with BlueTooth connection. You can replace this with an analogue joystick we have in our sensor box. 2 ADC channels are needed to read it out. |
|
META FILEATTACHMENT |
attachment="img_8016.png" attr="" comment="" date="1595941469" name="img_8016.png" path="img_8016.png" size="196208" user="UliRaich" version="1" |
META FILEATTACHMENT |
attachment="img_8020.png" attr="" comment="" date="1595946524" name="img_8020.png" path="img_8020.png" size="209010" user="UliRaich" version="1" |
META FILEATTACHMENT |
attachment="img_8024.png" attr="" comment="" date="1596006561" name="img_8024.png" path="img_8024.png" size="174956" user="UliRaich" version="1" |
|
|
> > |
META FILEATTACHMENT |
attachment="img_8025.png" attr="" comment="" date="1596026971" name="img_8025.png" path="img_8025.png" size="186133" user="UliRaich" version="1" |
|