First commit

This commit is contained in:
2026-07-30 16:19:15 -04:00
parent fbc5b3d4d3
commit d51ad8db38
12 changed files with 888 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import machine, utime
from machine import Pin
# From https://github.com/udacity/cd13765-deci-emb-sys-l4-term2-project.git
class Stepper:
def __init__(self, step_pin):
self.step_pin = Pin(step_pin, mode=Pin.OUT, pull=None)
def move_one_step(self):
self.step_pin.value(True)
utime.sleep(0.001)
self.step_pin.value(False)
utime.sleep(0.001)