Port digiWrite()
Set the output level of the DIO pin (digiWrite) or the AIO poin (digiWrite2) or the IRQ pin (digiWrite3).
If the pin is defined as an input with Port mode() then setting the output level to high will enable a pull-up resistor, but the pin will still acti as an input.
#include <Ports.h>
#include <RF12.h> // needed to avoid a linker error :(
Port port (1);
void port.digiWrite(byte value);
void port.digiWrite2(byte value);
void port.digiWrite3(byte value);
Parameters
value
Set the pin low if value is zero, else set the pin to a high logic level.
Notes
This is a thin wrapper around the Arduino digitalWrite() function.