Skip to content

An Elixir library for driving your HP 7475A Plotter

Notifications You must be signed in to change notification settings

andyleclair/nees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nees

A library for interfacing with a HP 7475a pen plotter

Notes

On Linux you may need to add yourself to the dialout group to access devices in the /dev/tty* area. If nothing happens when you boot an iex shell, that means the plotter hasn't been initialized and you should check this.

To really make sure that's what it is, run this in iex (replacing "ttyUSB0" with your device)

iex> {:ok, pid} = Nerves.UART.start_link()
iex> Nerves.UART.open(pid, "ttyUSB0", speed: 9600, active: true)

If that returns {:error, :eacces} then you need to be in dialout (also log out and back in) I

Installation

If available in Hex, the package can be installed by adding nees to your list of dependencies in mix.exs:

def deps do
  [
    {:nees, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/nees.

About

An Elixir library for driving your HP 7475A Plotter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages