sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
BlinkingSwitch_3way.ino File Reference
#include <PJONInteractiveRouter.h>

Macros

#define PJON_MAX_PACKETS   3
 

Functions

PJONInteractiveRouter
< PJONVirtualBusRouter
< PJONSwitch > > 
router (3,(PJONAny *[3]){&bus1,&bus2,&bus3})
 
void setup ()
 
void loop ()
 
void sendnotification_function (const uint8_t *const payload, const uint16_t length, const uint8_t receiver_bus, const uint8_t sender_bus, const PJON_Packet_Info &packet_info)
 

Variables

byte mac [] = {0xDE, 0x34, 0x4E, 0xEF, 0xFE, 0xE1}
 
StrategyLink< SoftwareBitBang > link1
 
StrategyLink< SoftwareBitBang > link2
 
StrategyLink< LocalUDP > link3
 

Macro Definition Documentation

#define PJON_MAX_PACKETS   3

needs doxygen docu - derived from BlinkingSwitch.ino (useful for LUDP-SWBB-TL or LUDP-SWBBx2 1 for 5V 1 for 3.3-5V buses) ...

Function Documentation

void loop ( void  )

OneWirePJON device status update function.

Returns
(void)
PJONInteractiveRouter<PJONVirtualBusRouter<PJONSwitch> > router ( ,
(PJONAny *[3]){&bus1,&bus2,&bus3}   
)
void sendnotification_function ( const uint8_t *const  payload,
const uint16_t  length,
const uint8_t  receiver_bus,
const uint8_t  sender_bus,
const PJON_Packet_Info &  packet_info 
)
void setup ( void  )

Arduino IDE: put your setup code here, to run once.

Variable Documentation

PJONAny bus1& link1
PJONAny bus2& link2
PJONAny bus3 & link3
byte mac[] = {0xDE, 0x34, 0x4E, 0xEF, 0xFE, 0xE1}