LED blinkinG
Knowledge acquired
- Configuration of the Arduino
pins used: #define and pinMode(pin,mode)
- Read the value of a pin: digitalRead(pin) and
analogRead(pin)
- Using the if ... else.
- Write a value to an Arduino
output pin: digitalWrite(pin,value)
- Pause the programme: delay(ms)
Circuit setup
Arduino code
project1_ledflashing.ino | |
File Size: | 1 kb |
File Type: | ino |