Fix SendSysex (incorect constant names)
add methods to query firmware and capabilities
Fix SendSysex (incorect constant names)
add methods to query firmware and capabilities
Implement digitalWrite, digitalRead and pinMode
methods.
Merge branch 'capabilities' of github.com:unrepentantgeek/firmata.py into capabilities
fix race condition
Implement digitalWrite, digitalRead and pinMode
methods.
More support for digital reads
add methods to enable & disable digital reporting
increase timeouts (5 is not enough, we don't want to hit them anyway)
only read first 8 bits of digital response, this is all that will ever be set
expanded mondo test with simulated capabilities response
tweak mondo test to use integer pin number instead of string name
Implement analogRead method
refactor capability query, combine with analog mapping query
Merge branch 'digitalwrite' of github.com:unrepentantgeek/firmata.py into digitalwrite

Conflicts:
	firmata/__init__.py
generate board.atod_map from board.dtoa_map
implement analogWrite()
add some asserts
fix pinMode()
Tweaks to testMondo
add timeout to join() to prevent hangs
changed serial stream
instantiate board without clocking call to QueryBoardParameters()
Make I2CConfig() disable local i2c capable pins
fix typo
fix assert in analogRead
8 bits is too many!
add utils.py with utils for encoding and decoding 7 bit sequences w/tests!
encode i2c write stream as 7 bit sequences
decode i2c read streams
add asserts to prevent sending 8 bit bytes via i2c
bugfix:
All pins are referenced by their digital pin number, there is no need
to convert to analog numbering.
fix minor off-by-one bugs in asserts
Add QueryBoardState() and QueryPinState() methods
Add firmata API tests and fix found bugs