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
244 B
14 lines
244 B
#include <Arduino.h>
|
|
|
|
typedef struct CAN_telegram_t {
|
|
uint32_t id;
|
|
uint8_t len;
|
|
uint8_t buf[8];
|
|
} CAN_telegram_t;
|
|
|
|
typedef struct OW_switch_t {
|
|
uint8_t nick;
|
|
uint8_t addr[8];
|
|
uint8_t state;
|
|
CAN_telegram_t event[2];
|
|
} OW_switch_t;
|
|
|