0

Example adafruitio_04_location doesn't function correctly
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Example adafruitio_04_location doesn't function correctly

by TKBeckum on Fri May 04, 2018 9:13 am

The Example adafruitio_04_location which is part of the Adafruit IO Arduino library, doesn't function correctly.
The location data are send correctly (as can be seen at the IO.Adafruit.com feed page), but when receiving the data the lon and ele data are incorrect. In fact both are displaying the lat data. I cannot find what is wrong with the example (I didn't change anything except the config.h data of course).
Problem is that I cannot find an explanation about all commands used in this library. For example: what exactly does 'int received_value = data->toInt();' do in this example. I think it only converts one of the 4 data to integer, but it doesn't specify which one in the statement (probably it is the 'value' data).
Anyone who can help me?

TKBeckum
 
Posts: 2
Joined: Thu May 03, 2018 11:21 am

Please be positive and constructive with your questions and comments.