EZ-B Allow to set values into a EZ-Builder through socket communication. In order for this module to work you must enable Server communication in the EZ-Builder
How to Install
npm install ez-b
How to use
var ez_b = ;
Next, enable the server in EZ-Builder in order to allow TCP connections.
Connect to your EZ-Builder server
That is it!!! Now you are ready to start sending command to your EZ-B from Nodejs
Connect to EZ-Builder and connect to board 0
var ez_b = ;ez_b;ez_b;
Control Servo using jQueryUI and BootStrap
First, install ez-b and socket.io
npm install ez-bnpm install socket.io
Setup your application to listen to incomming messages from a webpage
var ez_b = ;var io = ;ez_b;iosockets;
Create a web page with jQueryUI and BootStrap
EZ-RobotRobot ControlServo Control: 20
;;;;SetdigitalPort state;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;//Only available through ez-b nodejs;;;;;;
For more information about Ez-Builder commands please visit http://www.ez-robot.com
(The BSD License)
Copyright (c) 2013 Carlos Martin <firstname.lastname@example.org>
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.