“import network” instrucction, I have tried to solve installing the pluggin “network” in Thonny, and the the same result (f..y..!!), always network does not work( sh..!!). Solution the version of micropython in both microcontrollers is the latest micropython 1.24 and it does not ...
"""returnstr(html)# Connect to WLANwlan=network.WLAN(network.STA_IF)wlan.active(True)wlan.connect(ssid,password)# Wait for Wi-Fi connectionconnection_timeout=10whileconnection_timeout>0:ifwlan.status()>=3:breakconnection_timeout-=1print('Waiting for Wi-Fi connection...')time.sleep(1)# ...
Using MicroPython, it causesWarning: Comparison between bytes and strto be printed to the standard error output when callingrequest. It causes additional memory allocations. The "Host" header (if present) must always useb"Host"as the header dictionary key, i.e. it must be of typebytesand us...
The rp2 port has updated pico-sdk to v2.0.0, which brings support to MicroPython for the new RP2350 MCU, in both ARM and RISC-V mode, and in both the 30- and 48-pin variants. IPv6 has been enabled by default on this port, and optionalnetwork.PPPmade available. The USB now remai...
io/bytesio_ext2: remove dependency on specific EINVAL value run-tests: support esp32 as a target for running the test suite cpydiff: remove core_function_unpacking now that it succeeds cpydiff: remove types_str_decodeerror now that it succeeds cpydiff: remove working cases from types_float_...
full support for tuples and start/end arguments in thestr.startswith()andstr.endswith()methods; enabling of the two-argument version of the built-innext()function on most of the ports; a newsys.implementation._buildentry which holds the build name of the target; andvfs.mount()with no ...
basics: automatically skip tests that use str/bytes modulo-format add feature check for uio module and skip corresponding tests basics: split sys.exit test to separate file so it can be skipped extmod: add test for ussl when passing in key/cert params ...
objstr: remove duplicate % in error string objstringio: expose tell() on StringIO and BytesIO objects modmicropython: add heap_locked function to test state of heap stream.h: include sys/types.h to get size_t and off_t for POSIX API ...
Using MicroPython, it causes Warning: Comparison between bytes and str to be printed to the standard error output when calling request. It causes additional memory allocations. The "Host" header (if present) must always use b"Host" as the header dictionary key, i.e. it must be of type by...
remove types_str_endswith - ports/alif_hardware: add flash testing script - update UART and SPI tests to work on Alif boards - run-tests: print a note if it looks like unittest.main() missing tools: - mpremote: fix UnboundLocalError in Transport.fs_writefile() - ci.sh: fix commit ms...