The Robot Inventor includes a Color Sensor, pictured in Figure
9-1, that works with light. It can measure the color of objects placed in front of the sensor, as well as the brightness of light that hits the sensor. The Color Sensor includes a
circular light on its front surface to provide a source of light for objects to reflect. An exercise in this chapter will work with this
brightness reflection function to build a beeping
tone generator. Then to use the namesake function of the Color Sensor, the chapter project builds a machine ...