receive and export data at the same time
Ältere Kommentare anzeigen
I have two different data that I need to get from the internet and send to the internet. When I use Thingspeak, it only performs the function of one of them (the one that is written first in the code). I cannot make two operations on the same code. Is there a way to do this?( I am using arduino UNO)
2 Kommentare
Christopher Stapels
am 18 Jan. 2024
Can you share some relevant parts of the code?
best
am 18 Jan. 2024
Bearbeitet: Christopher Stapels
am 18 Jan. 2024
Akzeptierte Antwort
Weitere Antworten (1)
Christopher Stapels
am 18 Jan. 2024
Verschoben: Christopher Stapels
am 18 Jan. 2024
0 Stimmen
You should be able to complete both operationg in the same code. I have succeeded in both of these in the same code before (though not with AT commands)
There are functions to interact with ThingSpeak by writing AT commands in the ThingSpeak library. That might help you somewhat.
You have provided the functions, but you arent showing how you are calling the functions, so I'm not sure how they are triggered.
Also, I dont know what your ThingHTTP does. If it writes to the same channel as the first function, it would be denied if they are too close in time.
I think there are very many parts to your question. I would reccommend simplyfying your process and testing just one thing at a time.
1 Kommentar
Communitys
Weitere Antworten in ThingSpeak Community
Kategorien
Mehr zu Read Data from Channel finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

