Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

LED模組

專案說明

使用「科易KEYES Arduino UNO R3 開發板」連接「LED模組」, 每2秒鐘LED模組閃爍一次。

此LED模組包含於「洞洞兩教學材料包 Education Kit 002」內。

電路圖

LED模組是數位/類比訊號輸出, 可以接「D0 ~ D13」的 KEYES Arduino UNO R3訊號端上。 本範例連接到「D3」

Arduino 程式

將3號腳位的電位拉低、拉高,每2秒鐘會切換LED的亮暗一次。

產生出的 Arduino 程式如下

Last updated