- Python Programming with Raspberry Pi
- Sai Yamanoor Srihari Yamanoor
- 110字
- 2021-07-02 23:48:46
Blinky lights
Let's discuss an example where we make use of the Raspberry Pi Zero's GPIO. We will interface an LED to the Raspberry Pi Zero and make it blink on and off with a 1-second interval.
Let's wire up the Raspberry Pi zero to get started:

Blinky schematic generated using Fritzing
In the preceding schematic, the GPIO pin 2 is connected to the anode (the longest leg) of the LED. The cathode of the LED is connected to the ground pin of the Raspberry Pi Zero. A 330 Ohm current limiting resistor is also used to limit the flow of the current.

Breadboard connections to the Raspberry Pi Zero
推薦閱讀
- Hands-On Artificial Intelligence on Amazon Web Services
- Dreamweaver CS3網(wǎng)頁設(shè)計50例
- 來吧!帶你玩轉(zhuǎn)Excel VBA
- MCSA Windows Server 2016 Certification Guide:Exam 70-741
- Windows 7寶典
- CentOS 8 Essentials
- ESP8266 Home Automation Projects
- PostgreSQL 10 Administration Cookbook
- Hadoop應(yīng)用開發(fā)基礎(chǔ)
- Excel 2010函數(shù)與公式速查手冊
- Hands-On Data Warehousing with Azure Data Factory
- C#編程兵書
- 電機與電力拖動
- Arduino創(chuàng)意機器人入門:基于Mind+
- Hadoop大數(shù)據(jù)開發(fā)基礎(chǔ)