@@ -0,0 +1,1524 @@
+%22%22%22Constants used by the Firmata wire protocol.%22%22%22%0A%0AANALOG_MESSAGE = 0xE0%0ADIGITAL_MESSAGE = 0x90%0AREPORT_ANALOG = 0xC0%0AREPORT_DIGITAL = 0xD0%0ASYSEX_START = 0xF0%0ASET_PIN_MODE = 0xF4%0ASYSEX_END = 0xF7%0APROTOCOL_VERSION = 0xF9%0ASYSTEM_RESET = 0xFF%0A%0A# SYSEX Commands%0ASE_RESERVED_COMMAND = 0x00 # 2nd SysEx data byte is a chip-specific command (AVR, PIC, TI, etc).%0ASE_ANALOG_MAPPING_QUERY = 0x69 # ask for mapping of analog to pin numbers%0ASE_ANALOG_MAPPING_RESPONSE = 0x6A # reply with mapping info%0ASE_CAPABILITY_QUERY = 0x6B # ask for supported modes and resolution of all pins%0ASE_CAPABILITY_RESPONSE = 0x6C # reply with supported modes and resolution%0ASE_PIN_STATE_QUERY = 0x6D # ask for a pin's current mode and value%0ASE_PIN_STATE_RESPONSE = 0x6E # reply with a pin's current mode and value%0ASE_EXTENDED_ANALOG = 0x6F # analog write (PWM, Servo, etc) to any pin%0ASE_SERVO_CONFIG = 0x70 # set max angle, minPulse, maxPulse, freq%0ASE_STRING_DATA = 0x71 # a string message with 14-bits per char%0ASE_SHIFT_DATA = 0x75 # shiftOut config/data message (34 bits)%0ASE_I2C_REQUEST = 0x76 # I2C request messages from a host to an I/O board%0ASE_I2C_REPLY = 0x77 # I2C reply messages from an I/O board to a host%0ASE_I2C_CONFIG = 0x78 # Configure special I2C settings such as power pins and delay times%0ASE_REPORT_FIRMWARE = 0x79 # report name and version of the firmware%0ASE_SAMPLING_INTERVAL = 0x7A # sampling interval%0ASE_SYSEX_NON_REALTIME = 0x7E # MIDI Reserved for non-realtime messages%0ASE_SYSEX_REALTIME = 0x7F # MIDI Reserved for realtime messages%0A

Add file defining useful constants