# 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>
Last active
May 7, 2024 08:38
-
-
Save RobCranfill/e5ee81fd95c5752a6e71d536cb02a1b3 to your computer and use it in GitHub Desktop.
Turn off automatic reload of the code in CircuitPython
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tnaks! would be even better to
print(f"{supervisor.runtime.autoreload=}")