Refinements
This commit is contained in:
parent
e1371357e7
commit
72e2e9a36b
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// CANNode for Teensy 3.1/3.2
|
// CANNode for Teensy 3.1/3.2
|
||||||
//
|
// GPLv2
|
||||||
// by wiebel
|
// by wiebel (c) 2015-2018
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <Metro.h>
|
#include <Metro.h>
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
// Configuration
|
#include "CANNode.h"
|
||||||
|
|
||||||
|
// Node 01 - Dachstuhl
|
||||||
#define NODE_ID 0x01
|
#define NODE_ID 0x01
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#include "CANNode.h"
|
#include "CANNode.h"
|
||||||
// Configuration
|
|
||||||
|
// Node 02 - Werkstatt
|
||||||
#define NODE_ID 0x02
|
#define NODE_ID 0x02
|
||||||
|
|
||||||
// Misc
|
// 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]
|
// 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 } },
|
{ 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
|
{ 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 } }
|
{ 0, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }, { 0, 0, 0, 0 } }
|
||||||
};
|
};
|
||||||
static uint8_t switches_state[N_SWITCHES];
|
static uint8_t switches_state[N_SWITCHES];
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#include "CANNode.h"
|
#include "CANNode.h"
|
||||||
// Configuration
|
|
||||||
|
// Node 03 - Keller
|
||||||
#define NODE_ID 0x03
|
#define NODE_ID 0x03
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user