NAME
Device::Firmata::Platform - Platform specifics
open
Connect to the IO port and do some basic operations to find out how to connect to the device
messages_handle
Receive identified message packets and convert them into their appropriate structures and parse them as required
sysex_handle
Receive identified sysex packets and convert them into their appropriate structures and parse them as required
probe
On device boot time we wait 3 seconds for firmware name that the target device is using. If not received the starting message, then we wait for response another 2 seconds and fire requests for version. If the response received, then we store protocol version and analog mapping and capability.
pin_mode
Similar to the pinMode function on the arduino
digital_write
Analogous to the digitalWrite function on the arduino
Deprecation Warning: Writing to pin with mode "INPUT" is only supported for backward compatibility to switch pullup on and off. Use sub pin_mode with $mode=PIN_PULLUP instead.
digital_read
Analogous to the digitalRead function on the arduino
analog_read
Fetches the analog value of a pin
analog_write
pwm_write
pmw_write is an alias for analog_write
poll
Call this function every once in a while to check up on the status of the comm port, receive and process data from the arduino