|
|
@ -1,5 +1,6 @@ |
|
|
|
#include "CANNode.h" |
|
|
|
// Configuration
|
|
|
|
|
|
|
|
// Node 02 - Werkstatt
|
|
|
|
#define NODE_ID 0x02 |
|
|
|
|
|
|
|
// Misc
|
|
|
@ -30,7 +31,8 @@ static OW_switch_t switches[N_SWITCHES] PROGMEM={ |
|
|
|
// nick, addr[8], event_tag[pioA_FALL, pioA_RISE, pioB_FALL, pioB_RISE]
|
|
|
|
{ 255, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0, 0, 0, 0 } }, |
|
|
|
{ 21, { 0x12, 0x86, 0xB4, 0x54, 0x0, 0x0, 0x0, 0x5F }, { 23, 23, 37, 37 } }, // Flur
|
|
|
|
{ 22, { 0x12, 0x5E, 0xFF, 0x55, 0x0, 0x0, 0x0, 0x2C }, { 21, 21, 22, 22 } }, // WZ
|
|
|
|
{ 22, { 0x12, 0xC7, 0x2F, 0xCF, 0x0, 0x0, 0x0, 0xAF }, { 22, 22, 21, 21 } }, // WZ
|
|
|
|
// { 22, { 0x12, 0x5E, 0xFF, 0x55, 0x0, 0x0, 0x0, 0x2C }, { 21, 21, 22, 22 } }, // WZ
|
|
|
|
{ 0, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0, 0, 0, 0 } } |
|
|
|
}; |
|
|
|
static uint8_t switches_state[N_SWITCHES]; |
|
|
|