The example code for this chapter can be found in this book's GitHub repository: https://github.com/PacktPublishing/MicroPython-Projects/tree/master/Chapter04.
To run the examples and your own test harness, you will need the following hardware and software:
- Pyboard Revision 1.0 or 1.1
- RobotDyn I2C 8-bit PCA8574 I/O expander module or equivalent
- Adafruit RGB Pushbutton PN: 3423 or equivalent
- A terminal application (PuTTy, RealTerm, or Terminal)
- A text editor such as Sublime Text