Last active
March 14, 2017 17:07
-
-
Save rafacouto/b774b41e18e83e743deebc0bc5093bd6 to your computer and use it in GitHub Desktop.
Blink for ATtiny2313
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#define PIN_LED 7 | |
void setup() { | |
pinMode(PIN_LED, OUTPUT); | |
} | |
void loop() { | |
delay(500); | |
digitalWrite(PIN_LED, HIGH); | |
delay(500); | |
digitalWrite(PIN_LED, LOW); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[env:attiny2313] | |
board = attiny2313 | |
platform = atmelavr | |
framework = arduino |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment