SerialPorts.jl
SerialPorts.jl copied to clipboard
Cannot run the Listener.jl example
Hi,
When I run the Listener.jl example (from Julia REPL using Atom/Juno), I got the following message: "usage: listener.jl --port
How can I run correctly this example ?
Thank you !
I think the issue is running from an already running session in Atom not passing the ARGS. You would have to run outside with the julia command:
julia listener.jl --port COM3 --baud 115200
Alternatively you could do something from the julia REPL/Atom like so:
include("listener.jl")
terminal(["--port", "COM3", "--baud", "115200"])