Components and supplies
LED (generic)
Resistor 1k ohm
Arduino UNO
Resistor 10k ohm
Slide Switch
Apps and platforms
Arduino IDE
Project description
Code
Railroad cross lights
c_cpp
Downloadable files
Breadboard
This is breadbord
Breadboard
Schematic
This is schem
Schematic
Breadboard
This is breadbord
Breadboard
Schematic
This is schem
Schematic
Comments
Only logged in users can leave comments
Anonymous user
5 years ago
What LED's did you use?
Anonymous user
8 years ago
Downloaded railroad crossing lights sketch, verified and uploaded it. The sketch then informed me of numerous errors. How do I overcome the errors? thanks, Eric Hodgson
eldo85
2 years ago
Send the error please.
eldo85
2 years ago
Sorry I don't understand... I made again and worked... Hiere I simulited this site because i made it. I hope working for you! https://circuits.io/circuits/3853065-the-unnamed-circuit/edit
Anonymous user
2 years ago
The errors begin as follows (I hope), sketch -Jan24a:26: error: redefinition of 'void setup()' } void setup() { ^ C:\\Users\\User\\App\\Local\\Temp\\arduino_modified_sketch_412894\\sketch\\jan24a.ino: 4:6:note:'void setup()'previously defined here void setup () { ^ C:\\Users\\User\\AppData\\Local\\Temp\\arduino_modified_sketch_412894\\sketch_jan24a.ino: In function'void loop()': sketch_jan24a:31: error: redefinition of 'void loop()' void loop() { ^ C:\\Users\\User\\AppData\\Local\\Temp\\arduino_modified_sketch_412894\\sketch_jan24a.ino:12:6: note 'void loop() { ^ exit status 1 redefinition of 'void setup()(' // hope this makes more sense to you than it does to me! Thanks, Eric Hodgson
Anonymous user
2 years ago
What LED's did you use?