no method matching readline(::SerialPort, ::Float64)
Closed this issue · 2 comments
AndiMD commented
Hi there,
the first example with timeouts is broken in Julia 1.3, Linux 64bit.
using LibSerialPort
LibSerialPort.open("/dev/ttyACM0", 115200) do s
ret = readline(s, 1.0) #try to readline with a 1 second timeout
@show ret
end
ERROR: LoadError: MethodError: no method matching readline(::SerialPort, ::Float64)
Closest candidates are:
readline(::IO; keep) at io.jl:454
readuntil(s, '\n', 1.0)
still works, so its not a big deal.
Cheers,
Andi
andrewadare commented
This is due to some activity around #45 that we need to smooth out. Sorry for the trouble, we will get it straightened out soon. It sounds like you have found a workaround that is getting you along in the meantime.
IanButterworth commented
Now available in 0.4