SparkFun_CAN-Bus_Arduino_Library icon indicating copy to clipboard operation
SparkFun_CAN-Bus_Arduino_Library copied to clipboard

Update CAN_Write_Demo.ino

Open sonu874 opened this issue 1 year ago • 0 comments

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.

sonu874 avatar Jul 06 '22 09:07 sonu874