經安全檢測,此網站為安全網站,請放心前往原始網址!

Arduino PWM LED

1. 電路 用六顆led分別接上11,10,9,6,5,3這些pin腳 [led耐壓5V的可以直接接上] [LED若為3v的需在前面增加一顆220歐姆電阻] 2. pwm原理 [link] 3. code {chilicode cplusplus content} int ledPWM[6] = {11,10,9,6,5,3}; void setup() { } void loop ()

arduino.tw

網址安全性掃描由 google 提供