Search found 3 matches

by misan
Wed Aug 24, 2022 11:54 am
Forum: General Discussion and Questions
Topic: urequests and Raspberry Pi Pico W
Replies: 4
Views: 8269

Re: urequests and Raspberry Pi Pico W

Thanks, @Tabsy21, you made my day.
by misan
Fri May 21, 2021 6:52 pm
Forum: ESP32 boards
Topic: ENOMEM Error when using UDP Broadcast
Replies: 15
Views: 11309

Re: ENOMEM Error when using UDP Broadcast

I am failing trying to replicate that later. I noticed I did not import gc but it was used, so I guess Thonny might have added something else behind the curtains (or I am missing something else). The point is that after a reset, just using a serial connection I am unable to reproduce the same error....
by misan
Fri May 21, 2021 8:40 am
Forum: ESP32 boards
Topic: ENOMEM Error when using UDP Broadcast
Replies: 15
Views: 11309

Re: ENOMEM Error when using UDP Broadcast

I have set my ESP32 running MicroPyton v1.15 wifi to AP_IF (access point). I have the following code that broadcasts a UDP datagram: from socket import * from time import sleep so = socket(AF_INET, SOCK_DGRAM) while True: sleep(0.5) print(gc.mem_free()) so.sendto(b'misan1', ('255.255.255.255',8888))...