Archytax v0.1.1 Archytax.Board

For internal use of Archytax only. Board provides the interface between Archytax and the serial connection with Nerves.UART along with functions that deals with the connected device. All messages issued from Archytax are sent with the board connection.

Summary

Functions

init()
open(pid, device, speed, active \\ true)
parse_digital_message(new_pins_map, port, port_value, counter)
read(pid, ms \\ 60000)
report_analog_pin(pins_map, analog_channel, report_value)
send(pid, message)
update_analog_channel_value(pins_map, analog_channel, val)
update_pin_attribute(pins_map, pin, attribute, value)

Update the pin attribute attribute for the specified pin with value. returns the whole pins_map with the updated attribute.