- 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
推薦閱讀
- 數(shù)據(jù)展現(xiàn)的藝術(shù)
- R Data Mining
- Blockchain Quick Start Guide
- 21天學(xué)通ASP.NET
- Machine Learning with Apache Spark Quick Start Guide
- Red Hat Linux 9實(shí)務(wù)自學(xué)手冊
- Excel 2007常見技法與行業(yè)應(yīng)用實(shí)例精講
- INSTANT Munin Plugin Starter
- Kubernetes on AWS
- JSP通用范例開發(fā)金典
- JSP網(wǎng)絡(luò)開發(fā)入門與實(shí)踐
- 輸送技術(shù)、設(shè)備與工業(yè)應(yīng)用
- Practical Internet of Things with JavaScript
- Mastering Kubernetes
- 新手學(xué)Illustrator CS6平面廣告設(shè)計(jì)