Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup()
- {
- Serial.begin(115200);
- while (CAN_OK != CAN.begin(CAN_500KBPS))
- {
- Serial.println("CAN BUS Shield init fail");
- Serial.println("Init CAN BUS Shield again");
- delay(100);
- }
- Serial.println("CAN BUS Shield init ok!");
- }
Add Comment
Please, Sign In to add comment