The example code used in this chapter can be found at https://github.com/PacktPublishing/MicroPython-Projects/tree/master/Chapter05.
In order to run the examples and build your own custom MicroPython kernel, you will need the following hardware and software:
- A Linux machine or virtual machine
- An STM32L4 IoT Discovery node
- A RobotDyn I2C 8-bit PCA8574 I/O expander module, or equivalent
- An Adafruit RGB pushbutton PN: 3423, or equivalent
- A breadboard
- 6" jumpers
- A generic two-position switch
- A 30-gauge wire-wrapping wire
- A Terminal application (PuTTY, RealTerm, Terminal, or one of many others)
- A text editor, such as Sublime Text