micropython-lib
micropython-lib copied to clipboard
Core Python libraries ported to MicroPython
In line 23 of umqtt.robust/example_sub_robust.py, there is a mention of example_reset_session.py. I could not find this file.
Hi! Here’s some example code to reproduce the issue: ``` python import ssl import machine import network from umqtt.simple import MQTTClient client_id = machine.unique_id().hex() mqtt_server = 'XXX.s1.eu.hivemq.cloud' mqtt_user = 'XXX'...
SHT3x/SHT4x temperature/humidity sensor driver
I'm using the umqtt module - on conjunction with ussl_mbedtls - within the UNIX port with mbedtls. When I re-route the traffic originally going to my MQTT broker to /dev/null...
On MicroPython on Ubuntu-x86, when I import 're' from the REPL, I get `ValueError: Error in ffi_prep_cif ` ``` MicroPython v1.10-291-g27d22d871-dirty on 2019-05-03; linux version Use Ctrl-D to exit, Ctrl-E...
uasyncio version 1.2.4 I'm using it in a pretty common way: ```python loop = asyncio.get_event_loop() print("* Starting Web Server at {}:{}".format(host, port)) loop.create_task(asyncio.start_server(self._handler, host, port, backlog=backlog)) if loop_forever: loop.run_forever() loop.close()...
ExitStack was added in 5557382b5e6673bee60b0c1658ff8bd752856ae4 from CPython 3.4.2 and subsequently removed in 92ef77c3d2b4dbd1e4ac257860327ebdaa967c33 maybe because it wasn't compatible with uPy out of the box. I am using a slightly modified...
Hi, the umqtt.robust module is pretty reliable but I found a case when it stops sending:  As soon as I restart the MQTT broker,...
Hey, I've a question about connect method in umqtt lib: In the first time connection, even using robust mqtt, my broker need be on-line. If my server is Down at...
Using the midi example code run from mpremote as per the instructions Verify that the example logs transmit events over MIDI Connect the Cockos Reaper DAW (most recent version, 7.20)...