Search found 4 matches

by anth
Thu Jun 07, 2018 12:23 am
Forum: Programs, Libraries and Tools
Topic: uasyncio.udp lockup
Replies: 1
Views: 256

uasyncio.udp lockup

I'm trying to get udp packets asynchronously, but usayncio locks up and a TimeoutError is not thrown when timeout expires. Here is the example code with a 1 second timeout that just sits locked up: #uasyncio.udp lockup example import uasyncio as asyncio import network import socket import uasyncio i...
by anth
Tue May 29, 2018 11:07 am
Forum: General Discussion and Questions
Topic: unix ImportError: no module named 'network'
Replies: 0
Views: 213

unix ImportError: no module named 'network'

Does the network module exist for the unix port of micropython? I am getting this error: $ micropython MicroPython v1.9.4-101-g98d16093 on 2018-05-28; linux version Use Ctrl-D to exit, Ctrl-E for paste mode >>> import network Traceback (most recent call last): File "<stdin>", line 1, in <module> Imp...
by anth
Thu Apr 26, 2018 9:26 am
Forum: ESP32 boards
Topic: UART1 Guru Meditation Error
Replies: 2
Views: 700

Re: UART1 Guru Meditation Error

Thank you for the explanation loboris! I changed my UART assignment to: u = UART(1,115200, timeout=5000, rx=14, tx=12) which now uses GPIO14 for rx, and GPIO12 for tx. It would be nice if the UART documentation at this link: http://docs.micropython.org/en/latest/pyboard/library/machine.UART.html or ...
by anth
Thu Apr 26, 2018 1:35 am
Forum: ESP32 boards
Topic: UART1 Guru Meditation Error
Replies: 2
Views: 700

UART1 Guru Meditation Error

I'm just getting started with the ESP32DEVKITC and trying the UARTs. I am getting the following error: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled. when I get anything back on UART1 RXD I think that my test is simple. I connect a wire between U1TXD (pin SD3) ...