This is a simple example using the arduino to blink 3 LED's. Though with a few changes to the code you can make it blink as many as you want ;)
//Project 01: Blinking lights.
//Led's are on pins 10, 7, 4.
int leds[3] = {10, 7, 4};
const int ledsCount = sizeof(leds) / sizeof(leds[0]);
int led ...
Search found 1 match
- Thu Apr 24, 2025 7:30 pm
- Forum: Embedded development / microcontrollers / Arduino
- Topic: Project 01: Blinking lights
- Replies: 0
- Views: 55852