|
MySensors Library & Examples
2.3.2-62-ge298769
|
39 void pinMode(uint8_t physPin, uint8_t mode);
68 static int physToGPIO(uint8_t physPin, uint8_t *gpio);
71 static const int *phys_to_gpio;
77 static int rpiGpioLayout(
void);
void pinMode(uint8_t physPin, uint8_t mode)
Configures the specified pin to behave either as an input or an output.
uint8_t digitalRead(uint8_t physPin)
Reads the value from a specified pin.
void digitalWrite(uint8_t physPin, uint8_t value)
Write a high or a low value for the given pin.
uint8_t digitalPinToInterrupt(uint8_t physPin)
Translate the physical pin number to the GPIO number for use in interrupt.
static int physToGPIO(uint8_t physPin, uint8_t *gpio)
Translate the physical pin number to the GPIO number.