This app is a proof of concept between a nodejs server with express and johnny-five packages to interact with an arduino.
###Built With
######First you have to download and install node in your machine
#####Install johnny-five npm install johnny-five
#####Install express npm install express
#####Install ionic + cordova npm install -g cordova ionic
##To run the code
Go to
jhonny-app/www/js/controllers.js
modify the postLedAction function with your local ip address in line 32
node app.js
cd johnny-app
ionic serve --address <local ip address>
Example:
ionic serve --address 192.168.0.100
In this moment the browser should open with the ionic app running
#####Remember this is a very early proof of concept, the app only works in a local network, great things can be done
##Arduino Setup