Skip to content

Instantly share code, notes, and snippets.

@RobCranfill
Last active March 31, 2024 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobCranfill/e5ee81fd95c5752a6e71d536cb02a1b3 to your computer and use it in GitHub Desktop.
Save RobCranfill/e5ee81fd95c5752a6e71d536cb02a1b3 to your computer and use it in GitHub Desktop.
Turn off automatic reload of the code in CircuitPython
# To make a CP device stop auto-reloading code,

<code>
import supervisor
supervisor.runtime.autoreload = False  # CirPy 8 and above
print("supervisor.runtime.autoreload = False")
<code>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment