From 8c17d1d2cbebfb5f123ed835a28404565adb8d75 Mon Sep 17 00:00:00 2001
From: sickprodigy
+Using thonny as my IDE for micropython on raspberry pi pico w. +First thing to know is main.py will auto start with pico. Then you can call your other python scripts as needed really. +
+ +Note 2: ++Grounding the RUN terminal will reset the Pico. I've jumped run to a button and the other side of the button to ground. Easy clickable reset. +
diff --git a/Scripts/Lights-on-off-intervals.py b/Scripts/Lights-on-off-intervals.py new file mode 100644 index 0000000..d0d97f9 --- /dev/null +++ b/Scripts/Lights-on-off-intervals.py @@ -0,0 +1,4 @@ +import machine +led = machine.Pin("LED", machine.Pin.OUT) +led.off() +led.on() \ No newline at end of file diff --git a/Scripts/Onboard-LED-On.py b/Scripts/Onboard-LED-On.py new file mode 100644 index 0000000..d0d97f9 --- /dev/null +++ b/Scripts/Onboard-LED-On.py @@ -0,0 +1,4 @@ +import machine +led = machine.Pin("LED", machine.Pin.OUT) +led.off() +led.on() \ No newline at end of file