24 lines
508 B
C
24 lines
508 B
C
/*
|
|
FT_2018_STW_CAN.h
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "Arduino.h"
|
|
#include "DueTimer.h"
|
|
#include "due_can.h"
|
|
|
|
#define CAN_ID_BCU_APS_BRAKE 0x500
|
|
#define CAN_ID_BCU_ETC 0x502
|
|
#define CAN_ID_BCU_SHIFT_CTRL 0x504
|
|
#define CAN_ID_BCU_TIRES 0x562
|
|
#define CAN_ID_BCU_LAP_TIME 0x570
|
|
#define CAN_ID_MS4_IGN_REV_ATH 0x773
|
|
#define CAN_ID_MS4_SPEED 0x775
|
|
#define CAN_ID_MS4_ETC 0x779
|
|
#define CAN_ID_MS4_STATES_TEMP_PRESS 0x77A
|
|
|
|
void Init_Can_0();
|
|
void Send_0x110();
|
|
void Receive_Can_0(CAN_FRAME *frame);
|
|
void update_LED(void); |