Skip to content
Snippets Groups Projects
Commit 067279b3 authored by pippin's avatar pippin Committed by q3k
Browse files

nick: make launchable with mpremote run

parent 17c67375
No related branches found
No related tags found
1 merge request!140nick: make launchable with mpremote run
Pipeline #6711 passed
...@@ -4,7 +4,7 @@ from st3m.goose import Dict, Any ...@@ -4,7 +4,7 @@ from st3m.goose import Dict, Any
from st3m.input import InputState from st3m.input import InputState
from ctx import Context from ctx import Context
import leds import leds
import st3m.run
import json import json
import math import math
...@@ -87,3 +87,7 @@ class NickApp(Application): ...@@ -87,3 +87,7 @@ class NickApp(Application):
self._led += delta_ms / 45 self._led += delta_ms / 45
if self._led >= 40: if self._led >= 40:
self._led = 0 self._led = 0
if __name__ == "__main__":
st3m.run.run_view(NickApp(ApplicationContext()))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment