Skip to content
node-usb driver for bitcraze crazyradio dongle
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
background.js
example.js
index.js
package.json
test.js

README.md

crazyradio-node-driver

This is intended to be a fully functional implementation of the crazyradio driver written in javascript. You should be able to clone the repo and run the tests and use the radio API.

install

  • npm install -g n && npm install -g mocha
  • git clone https://github.com/adjavaherian/crazyradio-node-driver.git
  • n 0.12.7 important! change node to 0.12.7
  • npm install
  • node example.js to try the example or npm test to simply run the tests

tests

  • it looks like node-usb only works on pre 4.0 node series. I'm using node -v v0.12.7.
  • Use the awesome n switcher npm install -g n to get any version.
  • use mocha for tests: npm install -g mocha try sudo?
  • npm test should just work
  • make sure your cradio / cradiopa dongle is plugged in and not in some kind of weird reset mode
  • currently only implemented configurations. fork this and help me out.

next steps

  • bulk transfer modes
  • node.js ps3 controller
  • node.js crazyflie client
  • document the api. see tests, examples
You can’t perform that action at this time.