I currently have an adafruit feather huzzah, and using the arduino iot cloud. I have the led working, a button controls the led, and the state also changes online, all working.
I would however like to try the location function too. I currently don't have a GPS module, but for a test I would like to use a fixed longitude/lattitude. I can't find any information how to send this data to the IOT. Can anybody help me out?
Let's say your Location property's variable name is locationCoordinates and you wanted to set your location to latitude 45.0501, longitude 7.66666. You would add the following to the loop function of your sketch:
If you have any problems with that, let me know and I'll help out.
If you want more information on using the Location property, you can look at the ArduinoCloudThing library's CloudLocation.h: