Skip to content

Commit 0ed3b51

Browse files
committed
BlinkMachine example compiling aith attiny85
1 parent eb36148 commit 0ed3b51

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/BlinkMachine/BlinkMachine.ino

+5
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ MyActions;
6363
#define PIN_INPUT A1
6464
#define PIN_LED 13
6565

66+
#elif defined(ARDUINO_attiny)
67+
// Example for Arduino UNO with input button on pin 2 and builtin LED on pin 13
68+
#define PIN_INPUT PB0
69+
#define PIN_LED PB1
70+
6671
#elif defined(ESP8266)
6772
// Example for NodeMCU with input button using FLASH button on D3 and using the led on -12 module (D4).
6873
// This LED is lighting on output level LOW.

0 commit comments

Comments
 (0)