This is tutorial number 1 from our series of Arduino tutorials and in this part I will talk about blinking an LED using the one already available on the Arduino Uno board or using an external LED to ...
多数のLEDを手軽に光らせたいと思ったことはありませんか? 我々はたびたびそう思います。そんなときに使うのがArduinoとTLC5940です。 TLC5940はテキサスインスツルメンツのLEDドライバICで、1チップで最大16個のLEDを制御できます。各LEDを定電流で発光させる ...
This project demonstrates how to blink an LED connected to an Arduino Uno using a simple Arduino sketch. The LED blinks on and off at regular intervals determined by a specified delay. /program: ...
点灯時間の制御はループ内でmicros()を監視し、設定時間を超えたら点灯、消灯を制御しています。1回のループには実測で約3.8usec (0.0038msec)かかっていますので、誤差は最大0.0038msecです(切替時間0.2msでは誤差最大1.6%)。0.2msec以下ではdelayMicroseconds()を併用 ...