- 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
推薦閱讀
- AutoCAD快速入門與工程制圖
- VB語言程序設計
- 大數據處理平臺
- 21天學通Visual C++
- Enterprise PowerShell Scripting Bootcamp
- Grome Terrain Modeling with Ogre3D,UDK,and Unity3D
- Mastering Ceph
- Mastering Ansible(Second Edition)
- WOW!Photoshop CS6完全自學寶典
- 智能+:制造業的智能化轉型
- Containerization with Ansible 2
- 歐姆龍CP1系列PLC原理與應用
- 深度學習實戰
- 圖像傳感器應用技術
- Adobe Edge Quickstart Guide