PureData CEAMMC library web documentation
доступно с версии: 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
тип: int
обязательно: True
MODE pin mode
тип: symbol
обязательно: True
ANALOG_PIN analog pin number
тип: int
обязательно: True
VALUE value. If 1 - activates analog reporting, messages like [apin PIN# value( are returned every sampling interval (by default 19ms)
тип: int
обязательно: True
PORT# digital port number. Port is a group of pins, port 0 refers pins 0-8
тип: int
обязательно: True
VALUE value. If 1 - activates digital port reporting, messages like [dport PORT# value( are returned only on pin value change
тип: int
обязательно: True
version?
query firmata protocol version. Returns message like: [version MAJOR MINOR(
PIN# pin number
тип: int
обязательно: True
VALUE pin value
тип: int
обязательно: True
PIN# pin number
тип: int
обязательно: True
VALUE pin value
тип: int
обязательно: True
Авторы: Serge Poltavsky
Лицензия: GPL3 or later