uEZ GUI Start Here Guide
UEZGUI-1788-56VI
Rev. 1.11 Aug 31, 2016
Page 24
5.
Use the appropriate steps to Build, download, debug, and run the updated project
to verify that there are no errors. The temperature on the second screen should
display an accurate reading.
A heartbeat task that demonstrates GPIO port functionality using the
EZ GUI’s onboard
LED is also included in the project’s MyTask.c file. It may be implemented using the
same instructions provided for the temperature task by calling UEZTaskCreate.
H.
Adding a Back Button
In the following steps, we will add a back button to the second screen by defining the ID,
size, and position inside SecondScreen.c. Then, update the widget matrices and add a
callback function that will switch back to the home screen.
1.
Open SecondScreen.c.
2.
Define the new button widget’s ID and properties.
Figure 18:
Second
Screen