Project Update 2!
After figuring out the basics, I got a program of simple blinking lights to work. Amazingly enough, I was able to write the code myself and have a simple understanding of how it works. On the Arduino Uno, I plugged in LEDs in slots 12 and 13 after running ground to the breadboard. You have to start somewhere right?! So next I will try to understand exactly what code I will need to write in order rig up the small camera to it. Here's an example of the code I'm writing:
void setup() {
// put your setup code here, to run once:
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
}
// put your setup code here, to run once:
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(13, HIGH); // set the LED on
delay(1500); // wait betweeen blinks
digitalWrite(12, HIGH);
delay(1000);
digitalWrite(13, LOW); // Turn LED off
delay(1000);
digitalWrite(12, LOW);
delay(1500);
}
// put your main code here, to run repeatedly:
digitalWrite(13, HIGH); // set the LED on
delay(1500); // wait betweeen blinks
digitalWrite(12, HIGH);
delay(1000);
digitalWrite(13, LOW); // Turn LED off
delay(1000);
digitalWrite(12, LOW);
delay(1500);
}