/*
- This program is free software: you can redistribute it and/or modify
+ This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- Blink
- Turns on an LED on for one second, then off for one second, repeatedly.
-
- This example code is in the public domain.
- */
int red0 = 12;
int yellow0 = 11;
int green0 = 10;
int green1 = 5;
void setup() {
- // initialize the digital pin as an output.
- // Pin 13 has an LED connected on most Arduino boards:
-
pinMode(red0, OUTPUT);
pinMode(red1, OUTPUT);
pinMode(yellow0, OUTPUT);
/*
- This program is free software: you can redistribute it and/or modify
+ This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- Motor.
- Runs both motors back and forth.
-
- This example code is in the public domain.
- */
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
// This program implements table top challenge level 1 --
// The robot stays on the table without falling off.
-// This example code is in the public domain.
-
// Set *debug* to 1 to enable debugging statements:
int debug = 1;