summaryrefslogtreecommitdiff
path: root/julia-arduino-master/examples/test_firmware.jl
blob: 7a87e7cbf2838a17c87e2375edb0f0e352df4d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
using SerialPorts
using ArduinoTools

h = connectBoard(115200)

for i = 1:3
  write(h,"v")
  s = read(h,2)
  println(s)
end

close(h)