dumped all my old arduino stuff in here.
This commit is contained in:
parent
8cc6f23f59
commit
8f8959b76f
76 changed files with 8127 additions and 2 deletions
21
AAA
Normal file
21
AAA
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
Blink
|
||||
Turns on an LED on for one second, then off for one second, repeatedly.
|
||||
|
||||
This example code code code codecodecodecodecodecodecodecodecodecodecodecode is in the public domain.
|
||||
*/
|
||||
int LEDPIN = 13;
|
||||
|
||||
void setup() {
|
||||
//Serial.begin(9600);
|
||||
// initialize the digital pin as an output.
|
||||
// Pin 13 has an LED connected on most Arduino boards:
|
||||
pinMode(LEDPIN, OUTPUT);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
digitalWrite(LEDPIN, HIGH); // set the LED on
|
||||
delay(1000); // wait for a second
|
||||
digitalWrite(LEDPIN, LOW); // set the LED off
|
||||
delay(1000); // wait for a second
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue