- Hands-On Robotics Programming with C++
- Dinesh Tavasalkar
- 67字
- 2021-06-24 15:30:32
Smart light – working with digital sensor
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:
- 1 LDR sensor module
- 1 LED
- Raspberry Pi
- 5 female-to-female connecting wires
First, let's explore how the LDR sensor works.
推薦閱讀
- What's New in TensorFlow 2.0
- LabVIEW Graphical Programming Cookbook
- NLTK基礎(chǔ)教程:用NLTK和Python庫構(gòu)建機(jī)器學(xué)習(xí)應(yīng)用
- 面向?qū)ο蟪绦蛟O(shè)計(jì)(Java版)
- C語言程序設(shè)計(jì)
- Functional Kotlin
- GameMaker Programming By Example
- 21天學(xué)通C++(第5版)
- 詳解MATLAB圖形繪制技術(shù)
- 快速入門與進(jìn)階:Creo 4·0全實(shí)例精講
- Learning Python Data Visualization
- Magento 2 Beginners Guide
- Application Development with Parse using iOS SDK
- 軟件測試技術(shù)
- Spring Boot從入門到實(shí)戰(zhàn)