Search found 4 matches
- Wed Aug 03, 2022 7:38 am
- Forum: General Discussion and Questions
- Topic: Using local time with Pico W
- Replies: 17
- Views: 53770
Re: Using local time with Pico W
Yes here it is, it works like 1 time out of 20 this morning... no idea why, wifi seems solid, wlan status is ok: main.py : time.localtime(ntptime.time() + 946684800) (2022, 7, 16, 17, 25, 50, 5, 197) ntptime.py : try: import usocket as socket except: import socket try: import ustruct as struct excep...
- Tue Aug 02, 2022 4:35 pm
- Forum: General Discussion and Questions
- Topic: Using local time with Pico W
- Replies: 17
- Views: 53770
Re: Using local time with Pico W
I think I have found a way to make it work, but I keep getting this error (not every time): OverflowError: overflow converting long int to machine word I'm stuck on that, even if I try to reduce the length it doesnt seem to change the issue Whenever I dont get overflow I get this error: OSError: [Er...
- Tue Aug 02, 2022 9:31 am
- Forum: General Discussion and Questions
- Topic: Using local time with Pico W
- Replies: 17
- Views: 53770
Re: Using local time with Pico W
Hi,
Should I change anything to the micropython-samples/ntptime/ntptime.py code now that the datetime with timezone support was added to the micropython-lib ?
Thank you
Should I change anything to the micropython-samples/ntptime/ntptime.py code now that the datetime with timezone support was added to the micropython-lib ?
Thank you
- Sat Jul 30, 2022 4:05 pm
- Forum: General Discussion and Questions
- Topic: Web server In/out + physical button control via gpio
- Replies: 14
- Views: 11032
Re: Web server In/out + physical button control via gpio
Hi,
Did you find any solution 1 year later? I cant seem to find a way to make both a web server and gpio buttons work at the same time, else it checks for button input in the main loop, else it listens to http requests before to restart the loop, but how do do both...
Thank you
Did you find any solution 1 year later? I cant seem to find a way to make both a web server and gpio buttons work at the same time, else it checks for button input in the main loop, else it listens to http requests before to restart the loop, but how do do both...
Thank you