sketchbook
|
#include <PJON.h>
Macros | |
#define | PJON_PACKET_MAX_LENGTH 50 |
#define | PJON_MAX_PACKETS 3 |
Functions | |
PJON< SoftwareBitBang > | busA (DEVICE_ID) |
PJON< ThroughSerial > | busB (1) |
void | setup () |
void | receiver_functionA (uint8_t *payload, uint16_t length, const PJON_Packet_Info &packet_info) |
void | receiver_functionB (uint8_t *payload, uint16_t length, const PJON_Packet_Info &packet_info) |
void | loop () |
Variables | |
const uint8_t | DEVICE_ID = 45 |
#define PJON_MAX_PACKETS 3 |
#define PJON_PACKET_MAX_LENGTH 50 |
PJON<SoftwareBitBang> busA | ( | DEVICE_ID | ) |
PJON<ThroughSerial> busB | ( | 1 | ) |
void loop | ( | void | ) |
OneWirePJON device status update function.
void receiver_functionA | ( | uint8_t * | payload, |
uint16_t | length, | ||
const PJON_Packet_Info & | packet_info | ||
) |
void receiver_functionB | ( | uint8_t * | payload, |
uint16_t | length, | ||
const PJON_Packet_Info & | packet_info | ||
) |
void setup | ( | void | ) |
Arduino IDE: put your setup code here, to run once.
const uint8_t DEVICE_ID = 45 |