diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main.cpp b/src/main.cpp deleted file mode 100644 index 6226244..0000000 --- a/src/main.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include <Arduino.h> - -// Physical Pin 2 on the ATtiny84a is Arduino Digital Pin 0 -#define LED_PIN 0 - -void setup() { - // Initialize the digital pin as an output. - pinMode(LED_PIN, OUTPUT); -} - -void loop() { - digitalWrite(LED_PIN, HIGH); // Turn the LED on - delay(1000); // Wait for a second - digitalWrite(LED_PIN, LOW); // Turn the LED off - delay(1000); // Wait for a second -} |
