Content-Length: 218643 | pFad | https://github.com/Julia-Embedded/SerialPorts.jl/commit/82f2bdc78a0a95200531c8b7abc3af6f76d92cc6

8C docs · Julia-Embedded/SerialPorts.jl@82f2bdc · GitHub
Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkelly committed Oct 4, 2015
1 parent f8fb7ad commit 82f2bdc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,25 @@ installation, and performance.

## Documentation

A SerialPort can be treated like any other IO stream in Julia.
A `SerialPort` can be treated like any other IO stream in Julia.

A brief example:

```
using SerialPorts
s = SerialPort("/dev/ttyACM1", 250000)
write(s, "G1 X1000 F10000\n")
# if this is connected to a 3D printer it's not my fault if it breaks.
close(s)
```

`open`, `close`, `read`, `write`, `nb_available`, `readavailable`, are all
directly defined for `SerialPort`.

In order to see the attached serial devices, use `list_serialports()`.

The `Arduino` submodule provides functionality for manipulating Arduinos over
serial. `SerialPorts.Arduino.reset(s::SerialPort)` will reset an Arduino.

## License
Available under the [CC0 1.0 Universal Public Domain Dedication](http://en.wikipedia.org/wiki/Creative_Commons_license#Zero_.2F_Public_domain). See: [LICENSE.md](./LICENSE.md).
Expand Down

0 comments on commit 82f2bdc

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/Julia-Embedded/SerialPorts.jl/commit/82f2bdc78a0a95200531c8b7abc3af6f76d92cc6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy