Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How can I change the data of a message before it send periodically? #970

@Dongeeee

Description

@Dongeeee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions