Turn your slides using a TI SensorTag on Mac OS X.
$ npm install blueslider -g
- Launch:
$ blueslider
- If your SensorTag is not automatically found, press the side button.
- Your SensorTag is discovered.
- Press the right and/or left button to turn your slides!
- Have fun :)
$ node index.js
blue searching for a sensor tag +0ms
blue discovered +68ms fb94b8dde3ab42d590f32f58d6fab5dc
blue connected +552ms
blue discovered all characteristics +20ms
blue notify correctly setted up +288ms
blue right pressed +1s
blue left pressed +742ms
blue right pressed +822ms
Sometimes the discovery gets stuck before the 'notify correctly setted up' message. In that case, kill and restart.
Copyright (c) 2014 Matteo Collina (http://matteocollina.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.