diff options
Diffstat (limited to 'cores/arduino/wiring.h')
-rwxr-xr-x | cores/arduino/wiring.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cores/arduino/wiring.h b/cores/arduino/wiring.h index e0c5315..df43e6c 100755 --- a/cores/arduino/wiring.h +++ b/cores/arduino/wiring.h @@ -57,6 +57,10 @@ extern "C"{ #define FALLING 2 #define RISING 3 +#define INTERNAL 3 +#define DEFAULT 1 +#define EXTERNAL 0 + // undefine stdlib's abs if encountered #ifdef abs #undef abs @@ -93,6 +97,7 @@ void pinMode(uint8_t, uint8_t); void digitalWrite(uint8_t, uint8_t); int digitalRead(uint8_t); int analogRead(uint8_t); +void analogReference(uint8_t mode); void analogWrite(uint8_t, int); void beginSerial(long); |