aboutsummaryrefslogtreecommitdiffstats
path: root/src/wiring/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wiring/io.h')
-rw-r--r--src/wiring/io.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/wiring/io.h b/src/wiring/io.h
index 9c226c5..a313b2b 100644
--- a/src/wiring/io.h
+++ b/src/wiring/io.h
@@ -94,29 +94,15 @@ extern "C"{
typedef enum WiringPinMode {
OUTPUT,
+ OUTPUT_OPEN_DRAIN,
INPUT,
+ INPUT_ANALOG,
INPUT_PULLUP,
INPUT_PULLDOWN,
INPUT_FLOATING,
PWM
} WiringPinMode;
-#if 0
-typedef enum PinMode {
- INPUT_FLOATING,
- INPUT_ANALOG,
- INPUT_DIGITAL,
- INPUT_PULLDOWN,
- INPUT_PULLUP,
- INPUT,
- OUTPUT,
- PWM,
- SERIAL,
- SPI,
- I2C,
-} PinMode;
-#endif
-
/* Set pin to mode
* pinMode(pin, mode):
* pin -> {0-38, D0-D39, A0-16}