March 2019
Intermediate to advanced
312 pages
7h 37m
English
After writing our first C/C++ program for Raspberry Pi, we can now write a program that will take input from an LDR sensor and turn the LED on or off. For this project, you will need the following hardware components:
First, let's explore how the LDR sensor works.