Hi Guys, am a newbie to Arduino. Just starting using the ASTCan board to sniff the Can Bus network.
The sniffer works fine. But is there possibility to pass through an int through the function
void serialPrintData(st_cmd_t *msg)
char textBuffer[50] = {0};
if ((msg->id.std)==520){
This works but
Like void serialPrintData(st_cmd_t *msg, int rpm)
char textBuffer[50] = {0};
if ((msg->id.std)==rpm){
Replace the id with the rpm inside the function.
I have tried it .came back as error on Can485
Any idea on the subject?
Regards
Daven