Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite03b653

Browse files
authored
Merge pull request#157 from obra/master
Add a new 'OUTPUT_OPENDRAIN' pinmode for platforms.
2 parents6a524ad +df98331 commite03b653

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎api/Common.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ typedef enum {
1616
} PinStatus;
1717

1818
typedefenum {
19-
INPUT =0x0,
20-
OUTPUT =0x1,
21-
INPUT_PULLUP =0x2,
22-
INPUT_PULLDOWN =0x3,
19+
INPUT =0x0,
20+
OUTPUT =0x1,
21+
INPUT_PULLUP =0x2,
22+
INPUT_PULLDOWN =0x3,
23+
OUTPUT_OPENDRAIN =0x4,
2324
} PinMode;
2425

2526
typedefenum {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp