Created the message in the setup function and declared the tCAN message to be a global variable instead of a local variable in the loop function. So we will not lose time while generating the same message every time in the loop and the delay in sending the message would be much less.
Created the message in the setup function and declared the tCAN message to be a global variable instead of a local variable in the loop function. So we will not lose time while generating the same message every time in the loop and the delay in sending the message would be much less.