PureData CEAMMC library web documentation
available since version: 0.5
Firmata basic protocol support.
apin_mapping?
query mapping between analog port number and digital pin. Analog messages are
numbered 0 to 15, which traditionally refer to the Arduino pins labeled A0, A1,
A2, etc. However, these pis are actually configured using "normal" pin numbers
in the pin mode message, and when those pins are used for non-analog functions.
The analog mapping query provides the information about which pins (as used
with Firmata's pin mode message) correspond to the analog channels. Return
sequence of messages like: [apin_mapping A# PIN#(, where # is number
capabilities?
query pin capabilities. Return sequence of messages like: [pin_info PIN# MODE
RESOLUTION(, where # is pin number
firmware?
query firmata protocol version. Returns message like: [firmware
ARDUINO_FIRMWARE_NAME.ino MAJOR MINOR(
PIN# pin number
type: int
required: True
MODE pin mode
type: symbol
required: True
ANALOG_PIN analog pin number
type: int
required: True
VALUE value. If 1 - activates analog reporting, messages like [apin PIN# value( are returned every sampling interval (by default 19ms)
type: int
required: True
PORT# digital port number. Port is a group of pins, port 0 refers pins 0-8
type: int
required: True
VALUE value. If 1 - activates digital port reporting, messages like [dport PORT# value( are returned only on pin value change
type: int
required: True
version?
query firmata protocol version. Returns message like: [version MAJOR MINOR(
PIN# pin number
type: int
required: True
VALUE pin value
type: int
required: True
PIN# pin number
type: int
required: True
VALUE pin value
type: int
required: True
Authors: Serge Poltavsky
License: GPL3 or later