Search found 363 matches
- Sun Dec 06, 2020 2:38 pm
- Forum: ESP32 boards
- Topic: Python file gets corrupted during AC fluctuations
- Replies: 2
- Views: 1417
Re: Python file gets corrupted during AC fluctuations
If the system is reset when writing a file, the file system will be damaged.
- Mon Nov 16, 2020 2:25 am
- Forum: MicroPython pyboard
- Topic: Is it possible to make pybflash disk readonly?
- Replies: 3
- Views: 2403
Re: Is it possible to make pybflash disk readonly?
I want make pybflash disk to readonly mode, what command can be used to implement this function? os.mount() takes a `readonly` kwarg. In boot.py you can unmount /flash and then re-mount it readonly. I tried it the way you did, it does change to read-only mode in micropython, but it's still writable...
- Sun Nov 15, 2020 8:51 am
- Forum: MicroPython pyboard
- Topic: Is it possible to make pybflash disk readonly?
- Replies: 3
- Views: 2403
Is it possible to make pybflash disk readonly?
I want make pybflash disk to readonly mode, what command can be used to implement this function?
- Mon Nov 02, 2020 2:46 pm
- Forum: micro:bit boards
- Topic: Microbit DAPlink or Computer or USB drive problem?
- Replies: 2
- Views: 3212
Re: Microbit DAPlink or Computer or USB drive problem?
You can try to turn off the power saving option of USB.
- Thu Oct 29, 2020 8:10 am
- Forum: ESP32 boards
- Topic: a small bug ESP8266 and ESP32
- Replies: 1
- Views: 1212
a small bug ESP8266 and ESP32
I found a small bug in ESP8266 and ESP32. When import a module (such as import os), then input "os.__class__.", if press tab key, it will cause ESP32/ESP8266 reset.
Code: Select all
import os
os.__class__.
- Tue Oct 27, 2020 1:57 am
- Forum: Other Boards
- Topic: MicroPython has been port to Quectel CAT1 module
- Replies: 0
- Views: 2065
MicroPython has been port to Quectel CAT1 module
MicroPython has been port to Quectel CAT1 module, it is very convenient for the application of Internet of things.
- Thu Sep 03, 2020 12:50 am
- Forum: ESP32 boards
- Topic: How to use ROTARYIO from Circuitpython in Micropython ESP32?
- Replies: 1
- Views: 2352
Re: How to use ROTARYIO from Circuitpython in Micropython ESP32?
MicroPython doesn't support ROTARYIO, but encoder is easy to use in micropython.
- Sat Aug 15, 2020 2:50 am
- Forum: General Discussion and Questions
- Topic: i2c.readfrom timeout
- Replies: 2
- Views: 1875
- Fri Aug 07, 2020 7:51 am
- Forum: Programs, Libraries and Tools
- Topic: OneWire crc8 function usage
- Replies: 1
- Views: 1470
Re: OneWire crc8 function usage
Code: Select all
import onewire
ow = onewire.OneWire(Pin(22))
buf=b'\x70\x01\x4b\x46\x7f\xff\x0c\x10\x40'
ow.crc8(buf)
- Thu Aug 06, 2020 2:11 am
- Forum: micro:bit boards
- Topic: octopus temperature and humidity sensor DHT
- Replies: 1
- Views: 3244
Re: octopus temperature and humidity sensor DHT
dht is not build-in module in microbit. You may try BME280 or other I2C sensor.