test sending CAN message

This commit is contained in:
2023-08-24 17:28:30 +02:00
parent 6b32fbe46e
commit 357a7af1e8
3 changed files with 28 additions and 21 deletions

View File

@ -52,10 +52,13 @@ void Factory_init() {
LED_initHW(l8());
CAN_init();
CAN_setSender(1);
LED_off(l1());
}
void foo(uint8_t a, uint8_t b, uint32_t c){
LED_on(l1());
CAN_Send(b, a, c);
}
//connect objects if required