Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DHT11 LPS22HB LSM6DSL VL53L0X
CANbus.cpp
00001 #include "CANbus.h" 00002 00003 #ifndef MBED_H 00004 #define MBED_H 00005 #include "mbed.h" 00006 #endif 00007 00008 struct VMS_Msg1 data_pack(int* data) 00009 { 00010 00011 } 00012 00013 void data_parse(struct VMS_Msg1 packed_data) 00014 { 00015 battery_current = packed_data.battery_current; 00016 battery_voltage = packed_data.battery_voltage; 00017 Bat_SOC = packed_data.Bat_SOC; 00018 speed = packed_data.speed; 00019 motorTemperature = packed_data.motorTemperature; 00020 }
Generated on Thu Jul 14 2022 07:12:42 by
1.7.2
