When an unexpected, severe error occurs in CircuitPython, CircuitPython will enter mod sigur. You can also initiate safe mode yourself manually or in your CircuitPython program.
Safe mode prevents boot.py și code.py from running until you exit safe mode. Starting in CircuitPython 8.1.0-beta.0, it also enables running a special file called safemode.py that can exit safe mode automatically, so you can recover without having to manually press the reset button.
Check out noul CircuitPython Safe Mode guide. You’ll learn about:
- The details of the causes of safe mode
- How to enter safe mode deliberately
- How to recover from safe mode, manually or using safemode.py
- Distribuție de conținut bazat pe SEO și PR. Amplifică-te astăzi.
- Platoblockchain. Web3 Metaverse Intelligence. Cunoștințe amplificate. Accesați Aici.
- Sursa: https://blog.adafruit.com/2023/03/01/new-guide-circuitpython-safe-mode/