micropython-esp32
micropython-esp32 copied to clipboard
Old port of MicroPython to the ESP32 -- new port is at https://github.com/micropython/micropython
If you try to socket.connect() to an unreachable TCP/IP address it eventually (~15 seconds) returns with `OSError: [Errno 113] EHOSTUNREACH` However, if you Ctrl-C during this time, the exception is...
``` MicroPython v1.9.2-273-g56f18602 on 2017-09-25; ESP32 module with ESP32 Type "help()" for more information. >>> import binascii, hashlib >>> hash = hashlib.sha1(b'mango') >>> binascii.hexlify(hash.digest()) b'b19f233f1f6b38edc052ea9de39f3fd0c78fefba' ``` But on normal Python...
In the course of updating [this](https://github.com/peterhinch/micropython-mqtt/tree/master/mqtt_as) asynchronous MQTT driver I want to make it compatible with ESP32. The code uses a nonblocking socket. I get OSError 119 when writing to...
I would expect unsigned integers here.
It would be great if UART accepted Pin class instead of integers ``` >>> UART(1, 9600, timeout=1000, rx=Pin(18), tx=Pin(17)) Traceback (most recent call last): File "", line 1, in TypeError:...