This commit is contained in:
hamza
2024-07-07 18:52:54 +03:00
parent e7b5054e02
commit a4a856eb31
14 changed files with 126 additions and 260 deletions

View File

@ -1,6 +1,7 @@
/*
* can.c
* Created on: Mai 23, 2024
* can.h
*
* Created on: 07.07.2024
* Author: Hamza
*/
@ -71,7 +72,7 @@ void can_handle_send_status() {
data[5] = ((CURRENT_MEASUREMENT >> 8));
data[6] = ((CURRENT_MEASUREMENT & 0x00F0) | (highest_temp >> 12));
data[7] = ((highest_temp) >> 4);
//data[7] = state.error_source;
ftcan_transmit(CAN_ID_OUT, data, sizeof(data));
/*
int8_t id_lowest_temp = -1;