Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

QUESTION: Is it ok to control i2c device using timer interrupt? #12

@albertlt

Description

@albertlt

Hello. This is a question, not a bug. I have an i2c relay component in my setup. I need the relay to be fired at exact interval without being interrupted. I am aware that anything executed by interrupt must be fast in nature. Is sending i2c command to turn on/off relay acceptable to be executed inside interrupt? I've also read warning about possible data loss in serial communication. While I don't use serial, I do use wifi. Is there any possibility to have data loss if I use interrupt to control i2c device?

Metadata

Metadata

Assignees

No one assigned

    Labels

    SupportLibrary support

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions