Search found 4 matches
- Tue May 18, 2021 12:55 pm
- Forum: Other Boards
- Topic: [w600] socket.connect() hangs
- Replies: 4
- Views: 3683
[w600] socket.connect() hangs
My program on the Air602 running MP 1.10 calls a remote service over WiFi. socket.connect() hangs at random times maybe once a day. The code is: import network import utime from machine import Pin import usocket wlan = network.WLAN(network.STA_IF) wlan.active(True) sid = '...' password = '...' wlan....
- Fri Jul 17, 2020 8:51 pm
- Forum: Other Boards
- Topic: [W600] IO pins not working
- Replies: 11
- Views: 6507
Re: [W600] IO pins not working
Ah. It's working now with the pins corrected and with PULL_UP. Thank you! One more question. If I run an infinite loop in main.py, how do I interrupt it so I can download the log file? I am using pyboard.py to move files and it waits for the running program to finish. So far I have had to limit my l...
- Fri Jul 17, 2020 4:25 pm
- Forum: Other Boards
- Topic: [W600] IO pins not working
- Replies: 11
- Views: 6507
Re: [W600] IO pins not working
Thanks. The version is 1.10 . I changed the for loop to for i in [Pin.PA_08, Pin.PB_09, Pin.PB_10, Pin.PB_11, Pin.PB_12]: Most of the results were unchanged (with corrected pin numbers) except for reading with no pull parameter: pin 8 value is 0 pin 25 value is 0 pin 26 value is 0 pin 27 value is 1 ...
- Fri Jul 17, 2020 3:18 pm
- Forum: Other Boards
- Topic: [W600] IO pins not working
- Replies: 11
- Views: 6507
[W600] IO pins not working
I have an Air602 that I am using to report sensor data over wifi. I loaded micropython, and can manipulate the file system and call out over wifi using sockets. I am trying to use the IO pins for sensor input. The pin voltages are: GND 0 TX1 3.3 RX1 3.3 RTS 0 CTS 0 IO 0 Nothing I do in code changes ...