qdot
qdot

Reputation: 6335

Embdedded CPPCMS - synchronous polling

In an embedded environment, I have an unavoidable polling requirement - checking state of an I2C device.

Is there an easy way to have it done within the CPPCMS service loop? The alternative design would be a separate process communicating with the CPPCMS service asynchronously - but there are advantages of having it in a shared application.

I'd like to schedule a callback every 200ms, for instance.

Upvotes: 0

Views: 81

Answers (0)

Related Questions