Particle Variable for Asset Tracker Electron

I have the asset tracker up and running using the 1-gps-features.ino. Everything is working fine but instead of publishing the location G I would like to create a variable that holds that value. I have tried this on my own but I’m not having much luck. I am assuming you declare the variable in the void setup and then create a fuction that assigns a value to the variable, but im not sure. Thanks for any help

If you can show what you tried, we might be able to spot the problem.

You description sounds OK, but that might be due to us knowing how to do that right :wink:

1 Like