- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i started working on galileo a few days back and it was going well with sensors working nicely and all. but then i tried to upload the data of sensors to thingspeak using the code from the following link
https://github.com/iobridge/ThingSpeak-Arduino-Examples/blob/master/Ethernet/Arduino_to_ThingSpeak.ino ThingSpeak-Arduino-Examples/Arduino_to_ThingSpeak.ino at master · iobridge/ThingSpeak-Arduino-Examples · GitHub
as it turns out the code allows me to conect to thingspeak but for just one time ie every time i have to upload data to thingspeak i have to upload the program to board again and again. could anyone tell me what's wrong with the code or does it need to be modified to to be used with galileo as it was basically made for arduino
- Tags:
- Intel® Makers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i found the solution apart from the use of 'while' instead of 'if' the if (!client.connected() && lastConnected) should be written as if (client.connected() && lastConnected)....
no more '!'
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi abhijeetsingh,
It seems to be the same issue reported in /thread/77097 this thread. Let us know if this suggestion work for you as well.
Regards,
JPMontero_Intel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it got the sensors working but the update to thingspeak is still not happening. i waited for about fifteen minutes but nothing. though sensors are constantly showing the values which they were not earlier so that was the plus point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i found the solution apart from the use of 'while' instead of 'if' the if (!client.connected() && lastConnected) should be written as if (client.connected() && lastConnected)....
no more '!'
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page