NEW GUIDE: CircuitPython Safe Mode

NEW GUIDE: CircuitPython Safe Mode

Source Node: 1985609

When an unexpected, severe error occurs in CircuitPython, CircuitPython will enter safe mode. You can also initiate safe mode yourself manually or in your CircuitPython program.

Safe mode prevents boot.py and 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 the new 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

Time Stamp:

More from Ada Fruit

Source Node: 3015450
Time Stamp: Dec 14, 2023