mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
add devboard folder
This commit is contained in:
parent
8a1d3c1da5
commit
606f49d548
33 changed files with 32 additions and 32 deletions
|
@ -1,20 +0,0 @@
|
|||
#ifndef ESP32CAN_H
|
||||
#define ESP32CAN_H
|
||||
|
||||
#include "src/lib/ThomasBarth-ESP32-CAN-Driver/CAN_config.h"
|
||||
#include "src/lib/ThomasBarth-ESP32-CAN-Driver/CAN.h"
|
||||
extern uint8_t LEDcolor;
|
||||
|
||||
class ESP32CAN
|
||||
{
|
||||
public:
|
||||
bool tx_ok = true;
|
||||
int CANInit();
|
||||
int CANConfigFilter(const CAN_filter_t* p_filter);
|
||||
int CANWriteFrame(const CAN_frame_t* p_frame);
|
||||
int CANStop();
|
||||
void CANSetCfg(CAN_device_t *can_cfg);
|
||||
};
|
||||
|
||||
extern ESP32CAN ESP32Can;
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue