-
Notifications
You must be signed in to change notification settings - Fork 165
How to get the actual date? #98
Comments
@liowmei - this is more a question for the forum.pycom.io As far as concerned with the "demo" code from pycom: It doesn't work from what you expect. There needs to be a network connection in order to use NTP. In the demo there is no connection made to a IP network whatsoever. So the difference between working/not working is maybe the use of a connection via WiFi to update the device instead of using an USB connection. You could extract the date/time from the GPS info strings and use that to set the time. IMHO - the demo shows the use of a gps tracker. As most trackers are used outside - without a wireless network like WiFi - setting the time like this is not what you want. The demo on itself needs to be uncommented at various places to store the GPS readings with your cable to USB disconnected. |
@rolandvs Hi, thanks for you guide. I facing problem on connecting on the lopy serial board. Before i connect the lopy+expansion board, i have connected it with pytrack+lopy which is on COM 6. After that i try to connect lopy+expansion but it show not connected and keep appearing "connecting COM6". I have also change the COM number at the setting since the lopy+expansion board is using COM7. May i know how can i fix it? |
@liowmei - Best to move this to I think you can get more and faster answers through the forum, but the first thing that comes to my mind is that you plug it into a different USB port? |
@liowmei - If you take a look at my fork |
I think this has been resolved, so I'll close this issue. If you think otherwise, feel free to reopen it and add more details! |
…ld-misc IDF 3.3.1 compiler update
…bgcc.ld-misc IDF 3.3.1 compiler update
Hi there, i am new to pycom devices and i try out the example for pytrack from the github and i cannot get the actual date but only stop at year 1970. May i know how can i solve this? Thanks in advance.
The text was updated successfully, but these errors were encountered: