Example of RF24_arch_config.h for RF24 portability
◆ RF24_LINUX
◆ _BV
◆ _SPI
◆ IF_RF24_DEBUG
#define IF_RF24_DEBUG |
( |
| x | ) |
|
◆ PSTR
◆ printf_P
◆ strlen_P
◆ PROGMEM
◆ pgm_read_word
#define pgm_read_word |
( |
| p | ) |
|
◆ PRIPSTR
◆ pgm_read_byte
#define pgm_read_byte |
( |
| p | ) |
|
◆ LOW
◆ HIGH
◆ INPUT
◆ OUTPUT
#define OUTPUT GPIO::DIRECTION_OUT |
◆ digitalWrite
#define digitalWrite |
( |
| pin, |
|
|
| value ) |
◆ pinMode
#define pinMode |
( |
| pin, |
|
|
| direction ) |
◆ delay
#define delay |
( |
| millisec | ) |
|
Value:
void __msleep(int millisec)
- Examples
- examples/AcknowledgementPayloads/AcknowledgementPayloads.ino, examples/GettingStarted/GettingStarted.ino, examples/InterruptConfigure/InterruptConfigure.ino, examples/ManualAcknowledgements/ManualAcknowledgements.ino, examples/MulticeiverDemo/MulticeiverDemo.ino, examples/StreamingData/StreamingData.ino, examples/old_backups/GettingStarted_HandlingFailures/GettingStarted_HandlingFailures.ino, examples/old_backups/TransferTimeouts/TransferTimeouts.ino, examples/old_backups/pingpair_dyn/pingpair_dyn.ino, examples/old_backups/pingpair_irq/pingpair_irq.ino, examples/old_backups/pingpair_sleepy/pingpair_sleepy.ino, examples/rf24_ATTiny/rf24ping85/rf24ping85.ino, examples/rf24_ATTiny/timingSearch3pin/timingSearch3pin.ino, examples/scanner/scanner.ino, examples_linux/acknowledgementPayloads.cpp, examples_linux/gettingstarted.cpp, examples_linux/manualAcknowledgements.cpp, and examples_linux/multiceiverDemo.cpp.
Definition at line 70 of file RF24_arch_config.h.
◆ delayMicroseconds
#define delayMicroseconds |
( |
| usec | ) |
|
◆ millis
◆ prog_uint16_t
◆ rf24_gpio_pin_t