Chris Parker in MATLAB Answers
최근 활동: 2021년 2월 19일

Hi, i'm trying to download a 7 day .csv of my channel via curl, but it only seems to download part of it. if i place the same url into the browser it gives me the full 7 days, but when using curl i only get just over a day downloaded? Any ideas ? if anyone has a curl command that they know works flawlessly please let me know..
AMMAS in MATLAB Answers
최근 활동: 2020년 4월 5일

Hey guys, I have been researching and I am trying to build a function that posts the output of a sensor to thingspeak on the Arduino Yun. Here is my code so far, but I am getting no success, unfortunately. After looking up on the internet, everywhere I can, this is what I came up with. void postToThingSpeak(int value) { Process p; String cmd = "curl -d 'key=XXXXXXXXXXXXXXXXX&field1="; cmd = cmd + value; cmd = cmd + "' -k http://api.thingspeak.com/update"; p.runShellCommand(cmd); Serial.println(cmd); // do nothing until the process finishes, so you get the whole output: while(p.running()); } PS: I took the cmd after it was printed, and ran it in terminal and it worked perfectly. For some reason it's not working on the Arduino Yun though. Any assistance would be appreciated, thank you very much!

ThingSpeak 정보

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.