You will have already installed all the software prerequisites for this chapter from Chapter 1, Setting Up Your Development Environment. You'll want to make sure your Raspberry Pi is connected to the internet and that you have SSHed in using your method of choice.
The example code for this chapter can be found at https://github.com/nodebotanist/hands-on-robotics-with-javascript/tree/master/ch3.
As for hardware, you will need the following:
- Your Raspberry Pi
- Cobbler/breadboard
- Breadboard wires
- PCA9685 GPIO expander board
- RGB LED
- 330-ohm resistor x 3