CODE | LED Blink - Arduino Project 001

RonWang3 years ago (2023-05-02)电子编程 COD144

Arduino 电子编程--灯项目及控制,主要使用Arduino编程控制LED灯,实现基本控制Project 1 LED闪烁,基本的应用Project 3和4红绿灯项目

Project 1  LED Blink

001 LED Blink Schematic

001 LED Blink Circuit

// Project 1 - LED Blink
/* Coding Ron Wang
   May 20th 2024
   Autaba support for coding hardware
 */

int ledPin = 10;
void setup() {
 pinMode(ledPin, OUTPUT);
}
void loop() {
 digitalWrite(ledPin, HIGH);
 delay(1000);
 digitalWrite(ledPin, LOW);
 delay(1000);
}
Share with Friends:

Related Articles

CODE | LED Fire Effect - Arduino Project 009

CODE | LED Fire Effect - Arduino Project 009

Project 9 will use LEDs and a flickering random light effect, via PWM again, to mimic the effect of…

CODE | LED Dot Matrix Display Scrolling Message - Arduino Project 021

CODE | LED Dot Matrix Display Scrolling Message - Arduino Project 021

There are many different ways to drive LEDs. Using shift registers is one way and they have their a…

CODE | LED Interactive Traffic Lights - Arduino Project 004

CODE | LED Interactive Traffic Lights - Arduino Project 004

This time you are going to extend the previous project to include a set of pedestrian lights and a p…

CODE | IR Remote Control - Arduino Project 049

CODE | IR Remote Control - Arduino Project 049

Got it — you’re looking into using an infrared (IR) sensor with an IR remote on…

CODE | Digital Pressure Sensor - Arduino Project 031

CODE | Digital Pressure Sensor - Arduino Project 031

Arduino Programming Basic -- Pressure SensorsPressure sensors are integral components in a multitude…

About Arduino Resources

About Arduino Resources

The Arduino platform benefits from an active user community that makes it easy to get help from fell…

Post a Comment

Anonymous

Feel free to share your thoughts and opinions here.