diff --git a/src/CANNode.cpp b/src/CANNode.cpp index 374ab22..5f044e2 100644 --- a/src/CANNode.cpp +++ b/src/CANNode.cpp @@ -2,8 +2,8 @@ // ------------------------------------------------------------- // CANNode for Teensy 3.1/3.2 -// -// by wiebel +// GPLv2 +// by wiebel (c) 2015-2018 // #include diff --git a/src/Node_1_def.h b/src/Node_1_def.h index f2f5a61..74d9caa 100644 --- a/src/Node_1_def.h +++ b/src/Node_1_def.h @@ -1,4 +1,6 @@ -// Configuration +#include "CANNode.h" + +// Node 01 - Dachstuhl #define NODE_ID 0x01 // Misc diff --git a/src/Node_2_def.h b/src/Node_2_def.h index 36dcbf1..caaa3f6 100644 --- a/src/Node_2_def.h +++ b/src/Node_2_def.h @@ -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]; diff --git a/src/Node_3_def.h b/src/Node_3_def.h index e12f57a..cee91ae 100644 --- a/src/Node_3_def.h +++ b/src/Node_3_def.h @@ -1,5 +1,6 @@ #include "CANNode.h" -// Configuration + +// Node 03 - Keller #define NODE_ID 0x03 // Misc