Blynk and Thing-speak problem to work together


#1

I am trying to read Modbus via TCP/IP and then visualise data on Blynk and ThingSpeak. modbus tcp ip works fine, thing-speak upload works fine, Blynk works fine - but only separated. When tring to upload data to TS and Blynk in one code the photon stop responding…

Does anyone have similar issue?


#2

Some code to look at would be nice, as well as any error output there may have been.


#3

Hi thank you for offering help!

Fortunately i manage to solve the problem . There were some delays() (implemented with while () {}. I thought than only using delay () is forbidden.

I have changed to

while (!mb.available() && ((millis()-readStartinside)<1000) ) {
Blynk.run();
]

now works fine:)

Kind regards