I want to send a message 0x30C every 100ms, every time before the message sent to bus , one byte of the data should increase 1.
How can I implement this? I think changing the data every 100ms is not so good, when the bus load is too high, message 0x30C period is not 100ms exactly, which cause the byte not increase 1 or will increase 2.
Can I change the message data(or callback a function) before message sent to bus automatically(send_periodic())?
Appreciate for your reply.