* master: (31 commits)
Do not run travisci on site code
Allow for any HTTP verb on device command
Pass event payloads correctly in Basestar
Fix typo in path call.
Remove @self references in favor of just @ and fix set mode to udpate the obj attr when actually changing the mode.
Add missing param emitConnect.
Fx missing param in setModeCallback.
Refactor digital pin.
Updating unexport path to use function call.
Make sure the pin mode is setup even if the file already exists.
Fixes disconnect pins by making last IO calls sync and validates for existance of pin files.
Fixes issue with undefined path in digital pin.
Added pin number to emit close event.
Fox indenting error.
Refactor GPIO file paths, added validation to check for existance of GPIO pins (they have already been setup), added new sync disconnect.
More consistent internal representation of components
Clean up tests
Properly organize supporting classes for tests
Simplify readline setup for Windows users
Add tests for Cylon#findRobotConnection
...
Conflicts:
dist/api.js
examples/sphero_multiple.coffee
src/api.coffee
I apologize for this commit message but cylon-specs + this was just too perfect.
Anyways, have gotten Cylon robot specs working now. For some reason by the time
the spec runner gets around to running cylon.spec, inside cylon.js Robot has
been redefined to an empty object '{}'.
This resulted in a "TypeError: object is not a function on constructor" error.
So to solve this I moved the require() for 'robot' inside the Cylon.robot()
method. This shouldn't reload code thanks to Node's require cache, but will
properly assign Robot when instantiating a new one.
* master: (21 commits)
Removes unnecessary IO class.
Fixes raspi button example typo.
Updated DigitalPin and raspi_button example.
Adding interval reads to digitalRead.
Added new Digital read example for raspi, updated digitalRead in lib.
Refactored DigitalRead and setup mode to only emit connection event on connect.
Added new DigitalPin to Cylon core to use in adaptors, for real.
Added new DigitalPin to Cylon core to use in adaptors.
Added new example for raspi adaptor.
Updated digital pin lib and example.
Fixed missing mode variable in digital pin.
Remove logging and update example.
Change events and update example in digital pin.
Added close for GPIO and updated negative ifs
Change event triggers in callbacks to fat arrows to keep obj scope.
Removed self and changed example.
Updated IO and digital pin to use events.
Fix bug in GPIO example.
Adde pure GPIO example and updated digital pin lib
Added new LinuxIO DigitalPin library.
...