|
MySensors Library & Examples
2.3.2-62-ge298769
|
26 #define INPUT BCM2835_GPIO_FSEL_INPT
27 #define OUTPUT BCM2835_GPIO_FSEL_OUTP
52 void pinMode(uint8_t gpio, uint8_t mode);
82 static uint8_t initialized;
uint8_t isInitialized()
Checks if SPI was initialized.
uint8_t digitalRead(uint8_t gpio)
Reads the value from a specified pin.
~BCMClass()
BCMClass destructor.
uint8_t digitalPinToInterrupt(uint8_t gpio)
Returns the same GPIO, no conversion is required.
void pinMode(uint8_t gpio, uint8_t mode)
Configures the specified pin to behave either as an input or an output.
void digitalWrite(uint8_t gpio, uint8_t value)
Write a high or a low value for the given pin.
uint8_t init()
Initializes BCM.