Using the code
One of the goals for choosing this example was to have an approachable, real-world use case that was relevant. Most of the time, the use cases for the embedded systems we develop do not include a person typing away on a terminal emulator. To that end, a very simple GUI was created using Python to make it simple to send commands to the Nucleo board. The script is Chapter_13/PythonColorSelectorUI/colorSelector.py.
A Windows binary is also included (Chapter_13/PythonColorSelectorUI/colorSelector.exe). *.exe doesn't require Python to be installed. For other operating systems, you'll need to install the requisite packages listed in Chapter_13/PythonColorSelectorUI/requirements.txt and run a Python 3 interpreter to use the script: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access