April 2020
Intermediate to advanced
294 pages
7h 53m
English
The code for this project can again be found at https://github.com/PacktPublishing/MicroPython-Projects/tree/master/ch7.
Download the code and then copy it to your development board. If you aren't using an STM32L475 IoT Discovery node, you may need to modify the LED pins or the I2C bus you are using, but otherwise, the application should run without any other issues.
Once the application and the APDS-9660 module are copied to your MicroPython board, in the REPL, press Ctrl + D. This will perform a soft reboot and start the application. You can now present the APDS-9660 with a gesture. If you swipe right, you should see Right! in the REPL, along with one of your LEDs turning on. If you swipe left, you'll see ...
Read now
Unlock full access