Closed sfranzyshen closed 3 years ago
first attempt to port the oscillator over is up ... i tried to keep it as close to the original oscillator code ... I tested this out using a esp8266 with the latest micropython firmware ... but I did not test the movements yet ... that's next up with tackling otto9.cpp port ...
>>> import oscillator
>>> servo1 = oscillator.Oscillator()
>>> servo1.attach(14)
>>> servo1.SetPosition(0)
>>> servo1.SetPosition(180)
>>> servo1.SetPosition(90)
first working code is up
oscillator.py for esp8266 & ESP32