mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-11 10:23:44 +00:00
Dual stepper (#101)
* easystepper: added _DualDevice_ to move two motors at the same time
This commit is contained in:
committed by
Ron Evans
parent
e80a22d0ba
commit
18f0722728
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
func main() {
|
||||
motor := easystepper.New(machine.P13, machine.P15, machine.P14, machine.P16, 200, 75)
|
||||
motor.Configure()
|
||||
|
||||
for {
|
||||
println("CLOCKWISE")
|
||||
|
||||
Reference in New Issue
Block a user