This tutorial will show you how to use a ARDUINO board with a LED to make simulated candle light…
click on video below for tutorial.
Check us out on Facebook!
parts list:
#affiliate links#
SCHEMATIC:
ARDUINO CODE:
#define led 11
int rn;
void setup() {
pinMode(led,OUTPUT);
}
void loop() {
rn=random(50,255);
analogWrite(led,rn);
delay(200);
}