Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 762 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 762 Bytes

CircuitsUARTFramingPMS7003

CircleCI

A Circuits.UART.Framing module for communicating with the PMS7003 particle concentration sensor.

Installation

Add circuits_uart_framing_pms7003 to your mix.exs file:

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

Usage

Use the framer in Circuits.UART.open/3 or Circuits.UART.configure/2.

Circuits.UART.open(pid, "COM1", framing: CircuitsUARTFramingPMS7003)
# or
Circuits.UART.configure(pid, framing: CircuitsUARTFramingPMS7003)