yes, the Device Class and Device Driver is also in this case the right approach to get data from the underlying hardware like an ADC.
Each time new data are available, you can convert them into the desired value range and add them to the list of coords. After the graph receives the modified coord list, the graph is redrawn automatically.
The sample application "DeviceIntegration" that you will find within the Build Environment for the STM32F746 Discovery board shows the integration part between GUI application and underlying hardware.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!