This is a Cordova RC Car demo app that connects Arduino Car using Johnny Five via BLE.
You need to have git and node.js installed on your computer, also bower and cordova are required.
For platform-specific dependencies, see Cordova Platform Guides.
To initialize necessary plugin and platform files, you'll need to run following command for the first time:
cordova prepare
Currently you'll need to manually specify your BLE device address,
change your device connection settings in www/js/config.js
.
Will use scanning UI to select BLE device in the future.
on Firefox OS device:
$ cordova prepare firefoxos
To run your app on Firefox OS device, open WebIDE in Firefox and choose "Open Packaged App", select platforms/firefoxos/www
relative to the project path, and you are ready to go!
on Android device:
$ cordova build android
$ cordova run android --device
on iOS device:
$ cordova build ios
$ cordova run ios --device