|
@ -35,6 +35,8 @@ static OW_switch_t switches[N_SWITCHES] PROGMEM={ |
|
|
//{ 21, { 0x12, 0x86, 0xB4, 0x54, 0x0, 0x0, 0x0, 0x5F }, { 3, 3, 4, 4 } },
|
|
|
//{ 21, { 0x12, 0x86, 0xB4, 0x54, 0x0, 0x0, 0x0, 0x5F }, { 3, 3, 4, 4 } },
|
|
|
{ 22, { 0x12, 0x84, 0xAD, 0x4F, 0x0, 0x0, 0x0, 0x12 }, { 1, 1, 2, 2 } }, // EZ -> Küche
|
|
|
{ 22, { 0x12, 0x84, 0xAD, 0x4F, 0x0, 0x0, 0x0, 0x12 }, { 1, 1, 2, 2 } }, // EZ -> Küche
|
|
|
// { 31, { 0x12, 0x88, 0xDD, 0x53, 0x0, 0x0, 0x0, 0x28 }, { 210, 211, 220, 221 } }, // Roldenschalter (A - UP, B - DOWN)
|
|
|
// { 31, { 0x12, 0x88, 0xDD, 0x53, 0x0, 0x0, 0x0, 0x28 }, { 210, 211, 220, 221 } }, // Roldenschalter (A - UP, B - DOWN)
|
|
|
|
|
|
{ 31, { 0x12, 0x8F, 0xE2, 0x86 ,0x0, 0x0, 0x0, 0xC6}, { 220, 221, 210, 211 } } // Roldenschalter (A - UP, B - DOWN)
|
|
|
|
|
|
|
|
|
}; |
|
|
}; |
|
|
static uint8_t switches_state[N_SWITCHES]; |
|
|
static uint8_t switches_state[N_SWITCHES]; |
|
|
static outputs_t outputs[N_OUTPUTS] PROGMEM={ |
|
|
static outputs_t outputs[N_OUTPUTS] PROGMEM={ |
|
@ -45,13 +47,8 @@ static outputs_t outputs[N_OUTPUTS] PROGMEM={ |
|
|
{ GPIO, 22, 0, true }, // 3
|
|
|
{ GPIO, 22, 0, true }, // 3
|
|
|
{ GPIO, 17, 0, true }, // 4
|
|
|
{ GPIO, 17, 0, true }, // 4
|
|
|
{ GPIO, 16, 0, true }, // 5
|
|
|
{ GPIO, 16, 0, true }, // 5
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
{ GPIO, 9, 255, true }, // 6
|
|
|
{ GPIO, 9, 255, true }, // 6
|
|
|
{ GPIO, 10, 0, true }, // 7
|
|
|
{ GPIO, 10, 0, true }, // 7
|
|
|
======= |
|
|
|
|
|
{ GPIO, 19, 0, true }, // 6
|
|
|
|
|
|
{ GPIO, 18, 0, true }, // 7
|
|
|
|
|
|
>>>>>>> led |
|
|
|
|
|
{ NOP, 0xFF, 0, 0 } |
|
|
{ NOP, 0xFF, 0, 0 } |
|
|
}; |
|
|
}; |
|
|
static uint8_t outputs_state[N_OUTPUTS]; |
|
|
static uint8_t outputs_state[N_OUTPUTS]; |
|
@ -72,10 +69,10 @@ static event_t tx_events[N_EVENTS] PROGMEM={ |
|
|
{ 8, 0x03, 0x03, TOGGLE, 0x08}, |
|
|
{ 8, 0x03, 0x03, TOGGLE, 0x08}, |
|
|
{ 11, 0x03, 0x01, ON, 0x01}, |
|
|
{ 11, 0x03, 0x01, ON, 0x01}, |
|
|
{ 12, 0x03, 0x01, ON, 0x02}, |
|
|
{ 12, 0x03, 0x01, ON, 0x02}, |
|
|
{ 210, 0x03, 0xff, OFF, 0x06}, |
|
|
{ 210, 0x03, 0xff, OFF, 0x04}, |
|
|
{ 211, 0x03, 0xff, ON, 0x06}, |
|
|
{ 211, 0x03, 0xff, ON, 0x04}, |
|
|
{ 220, 0x03, 0xff, OFF, 0x07}, |
|
|
{ 220, 0x03, 0xff, OFF, 0x05}, |
|
|
{ 221, 0x03, 0xff, ON, 0x07}, |
|
|
{ 221, 0x03, 0xff, ON, 0x05}, |
|
|
{ 255, 0x03, 0xff, OFF, 0x09}, |
|
|
{ 255, 0x03, 0xff, OFF, 0x09}, |
|
|
{ 254, 0x03, 0xff, ON, 0x09}, |
|
|
{ 254, 0x03, 0xff, ON, 0x09}, |
|
|
{ 10, 0x03, 0xff, TOGGLE, 0x01}, |
|
|
{ 10, 0x03, 0xff, TOGGLE, 0x01}, |
|
|