Technical requirements
For this project, you will need a regular LED of any color, and a TSL2561 light sensor, available on Adafruit (https://www.adafruit.com/product/439)Â and through many other providers.
Note
The code for this chapter is available at https://github.com/PacktPublishing/Hands-On-Robotics-with-JavaScript/tree/master/Chapter05.
Â