我正在尝试通过PubNub将RGB led值发送到freeboard.io。我通过Arduino在循环中顺序地发送R值,但它总是遗漏中间的值。它发送R,但在那之后,G值比现在R的时间更长,但这一次B被发送。有一个相关问题的答案,建议使用更改停止函数PubNub.cpp的解决方法,而不是等待返回消息,它直接停止客户端,但它没有解决我的问题either.How我能解决这种情况吗?图片如下所示。
Arduino side R B G values sent sequentially, Nope means sending is failed
I have changed the stop function with previously answered question
发布于 2016-09-07 23:45:55
我建议直接使用发布和订阅API(而不是send()),而不是iotconnector.h。
https://stackoverflow.com/questions/39329065
复制相似问题