Digital.h File Reference
Include dependency graph for Digital.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
DigitalHooks * | setDigitalHooks (DigitalHooks *hooks) |
Replace (or remove) existing hooks. More... | |
void | pinMode (uint16_t pin, uint8_t mode) |
Set the mode of a GPIO pin. More... | |
void | digitalWrite (uint16_t pin, uint8_t val) |
Set a digital output. More... | |
uint8_t | digitalRead (uint16_t pin) |
Get the value of a digital input. More... | |
void | pullup (uint16_t pin) |
Enable pull-up on digital input. More... | |
void | noPullup (uint16_t pin) |
Disable pull-up on digital input. More... | |
bool | isInputPin (uint16_t pin) |
Check if GPIO is an input. More... | |
unsigned long | pulseIn (uint16_t pin, uint8_t state, unsigned long timeout=1000000L) |
Measures duration of pulse on GPIO. More... | |
uint16_t | analogRead (uint16_t pin) |