Skip to content

Commit 70801be

Browse files
Merge pull request #24 from wrong-kendall/master
Add a definition for INPUT_PULLDOWN because SAMD supports pulldowns.
2 parents cf1733f + d839198 commit 70801be

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/arduino/Arduino.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ void yield(void);
4242
#define INPUT 0x0
4343
#define OUTPUT 0x1
4444
#define INPUT_PULLUP 0x2
45+
#define INPUT_PULLDOWN 0x3
4546

4647
#define PI 3.1415926535897932384626433832795
4748
#define HALF_PI 1.5707963267948966192313216916398

0 commit comments

Comments
 (0)