I just go electron asset tracker kit, and i loaded one the existing gps tracker project to test it out, and it works fine. But I like to make my own app from scratch but how do i know which Gps classes and functions are available to me? there is no documentation anywhere regarding it.
You can look into the library’s sources - they are open.
I’d suggest using this lib
Thanks, also another quick question. Im still little confused with setup() and loop(). if im doing two different thing such as sending gps coords to my database but at the same time i want to get alert if the button hooked up to one of the gpio is pressed. how can i do both of those things simultaneously?
Try a quick read of this Demonstration code for several things at the same time. It is a run through of how you sort-of thread your multiple things.
awesome thanks a lot