You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
239 B
14 lines
239 B
#include <Arduino.h>
|
|
|
|
typedef struct CAN_telegram {
|
|
uint32_t id;
|
|
uint8_t len;
|
|
uint8_t buf[8];
|
|
} CAN_telegram;
|
|
|
|
typedef struct OW_switch {
|
|
uint8_t nick;
|
|
uint8_t addr[8];
|
|
uint8_t last_state;
|
|
CAN_telegram event[2];
|
|
} OW_switch;
|
|
|