sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
Surrogate.ino File Reference
#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
 

Macro Definition Documentation

#define PJON_MAX_PACKETS   3
#define PJON_PACKET_MAX_LENGTH   50

Function Documentation

PJON<SoftwareBitBang> busA ( DEVICE_ID  )
PJON<ThroughSerial> busB ( )
void loop ( void  )

OneWirePJON device status update function.

Returns
(void)
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.

Variable Documentation

const uint8_t DEVICE_ID = 45