Main program for MT-07 CAN Bus Interface. More...
#include "MT07_CANBus.h"
Go to the source code of this file.
Functions | |
| MT07_CANBus | mt07 (CS_PIN) |
| Instance of the MT07_CANBus class. | |
| void | setup () |
| Arduino setup function. | |
| void | loop () |
| Arduino loop function. | |
Variables | |
| const int | CS_PIN = 5 |
| Chip select pin for MCP2515. | |
Main program for MT-07 CAN Bus Interface.
This program uses the MT07_CANBus library to interact with the CAN bus of a Yamaha MT-07 motorcycle (2014 model). It initializes the CAN bus, decodes incoming messages, and displays the following data in real-time:
\usage
Definition in file main.ino.
| void loop | ( | ) |
Arduino loop function.
Checks for incoming CAN messages, processes them, and displays the decoded data in the Serial Monitor.
Definition at line 52 of file main.ino.
References mt07().

| MT07_CANBus mt07 | ( | CS_PIN | ) |
| void setup | ( | ) |
Arduino setup function.
Initializes the Serial Monitor and CAN bus. If the CAN bus fails to initialize, the program halts.
Definition at line 36 of file main.ino.
References mt07().
