We are going to look at building the gesture controller in several different chunks. First, we are going to explore the theory behind how the APDS-9960 works. Once we understand how it works, we will then develop the APDS-9960 driver that is shown in the class diagram in the The software architecture section. Finally, we will write our high-level application that uses the class. At that point, we will be ready to test the controller. Let's get started!
Constructing the gesture controller
The APDS-9960 theory of operation
The APDS-9960 has four directional photodiodes, which are used to detect the reflected infrared light that is generated by integrated IR LEDs. The reflected light can be used to sense motion, such as...