We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66864b1 commit 65436c8Copy full SHA for 65436c8
hardware/arduino/cores/arduino/Arduino.h
@@ -40,6 +40,11 @@ extern "C"{
40
#define FALLING 2
41
#define RISING 3
42
43
+#if defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) || defined(__AVR_ATtiny25__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__)
44
+#define DEFAULT 0
45
+#define EXTERNAL 1
46
+#define INTERNAL 2
47
+#else
48
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
49
#define INTERNAL1V1 2
50
#define INTERNAL2V56 3
@@ -48,6 +53,7 @@ extern "C"{
53
#endif
54
#define DEFAULT 1
55
#define EXTERNAL 0
56
+#endif
51
57
52
58
// undefine stdlib's abs if encountered
59
#ifdef abs
0 commit comments