summaryrefslogtreecommitdiff
path: root/julia-arduino-master/examples/LED/led-blue-delay.jl
blob: 3349e9916296a99b7abb7431ef287f1d9d073ae1 (plain)
1
2
3
4
5
6
7
8
9
using SerialPorts
using ArduinoTools

ser = connectBoard(115200)
pinMode(ser,9,"OUTPUT")
digiWrite(ser,9,1)
sleep(2)
digiWrite(ser,9,0)
close(ser)