Hey guys, I wanted to share the project we did this last semester. It was a three floors controlled elevator. We used an Arduino Uno, I'll leave you here the document explaining how we did it, it is in spanish but I hope it might help you, otherwise you can ask.
Here's a video of the elevator working:
I opened the sketch, but it is giving me these errors. Any ideas?
Arduino: 1.6.0 (Windows 8), Board: "Arduino Uno"
PROGRAMA_ASCENSOR_ARDUINO_1 (1).ino: In function 'void setup()':
PROGRAMA_ASCENSOR_ARDUINO_1 (1).ino:68:6: error: redefinition of 'void setup()'
sketch_mar09a.ino:1:6: error: 'void setup()' previously defined here
PROGRAMA_ASCENSOR_ARDUINO_1 (1).ino: In function 'void loop()':
PROGRAMA_ASCENSOR_ARDUINO_1 (1).ino:84:6: error: redefinition of 'void loop()'
sketch_mar09a.ino:6:6: error: 'void loop()' previously defined here
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
I did it by a more convoluted route - opened the file in a text editor and then copied and pasted the source into the IDE. This is just to avoid the IDE creating a new project every time I compile one of these things. I can't see that your method would be any different though.
no luck!! :(.. and I really need to get an idea, of how the sketch is written!!.. as its been a week looking at forums, and trying to write sketches!!.. but always end up with a problem.. either here or there!!
Hey intertronic, sorry for replying so late.
I'm not sure why is it giving you that problem, it never did to us, but I'll leave you here the screens of the program, hope it helps. You won't see #2 in red... a mistake, #3 is following #1