Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在嵌入式环境中,我有一个不可避免的轮询要求——检查 I2C 设备的状态。
有没有一种简单的方法可以在 CPPCMS 服务循环中完成它?另一种设计将是一个与 CPPCMS 服务异步通信的单独进程 - 但将其置于共享应用程序中具有优势。
例如,我想每 200 毫秒安排一次回调。