MEyCan V6

This commit is contained in:
2023-05-13 07:20:13 +02:00
parent 998ec66f0f
commit e1dc33c72f

View File

@@ -1,12 +1,12 @@
#include <SPI.h>; #include <SPI.h>;
#include <mcp2515.h>; #include <mcp2515.h>;
struct can_frame _frame; struct can_frame _frame;
MCP2515 mcp2515(PIN_PA3); MCP2515 mcp2515(PIN_PA3);
const byte SoftwareVersionHigh = 1; const byte SoftwareVersionHigh = 2;
const byte SoftwareVersionLow = 0; const byte SoftwareVersionLow = 0;
const byte HardwareVersionHigh = 2; const byte HardwareVersionHigh = 3;
const byte HardwareVersionLow = 0; const byte HardwareVersionLow = 0;
typedef struct typedef struct