Using Raspberry PI to flash Esp-01s with Micropython firmware

六二三
Flashing esp-01s micropython firmware workflow raspberrypi4B board <---> esp-link <---> esp-01s board Download micropython firmware for esp-01s 1M // https://micropython.org/download/esp8266-1m/ wget -c https://micropython.org/resources/firmware/esp8266-1m-20210902-v1.17.bin Flashing with Thonny IDE // Install flash tool - esptool pip3 install -U esptool // find connect esp01s port dmesg|grep tty // check esp01s board info esptool.py -p /dev/ttyACM0 flash_id

Split string with multiple delimiters in Python

六二三
Python string split() method allows a string to be easily split into a list based on a delimiter. Though in some cases, you might need the separation to occur based on not just one but multiple delimiter values. This quick 101 article introduces two convenient approaches this can be achieved in Python. Split String With Two Delimiters in Python Assume the following string. text = "python is, an easy;language; to, learn.