firmware defines

This commit is contained in:
2023-10-22 09:32:07 -04:00
parent 38e8ed1b51
commit 2526e44378
753 changed files with 81108 additions and 32 deletions

17
firmware/lib/can/can.h Normal file
View File

@@ -0,0 +1,17 @@
/**
* CAN header
*/
#ifndef AIOLI_CAN_H
#define AIOLI_CAN_H
#include <Arduino.h>
#include "stm32g4xx_hal.h"
#include "stm32g4xx_hal_fdcan.h"
void FDCAN_Start(uint16_t canID);
void FDCAN_SendMessage();
void FDCAN_ChangeID(uint16_t newID);
uint16_t FDCAN_FindUniqueID(void);
#endif