summaryrefslogtreecommitdiff
path: root/julia-arduino-master/examples/DC motor/dcmotor-clock.jl
blob: 260d2e147ccee712f9f9bf2fc1ef0668a3a3b2fb (plain)
1
2
3
4
5
6
7
8
9
using SerialPorts
using ArduinoTools

ser = connectBoard(115200)
DCMotorSetup(ser,3,1,9,10)
DCMotorRun(ser,1,100)
sleep(3)
DCMotorRelease(ser,1)
close(ser)