The Visual Programming Editor for Webduino.
Google's Blockly is a web-based, visual programming editor. Users can drag blocks together to build programs.
First, make sure bower has been installed in your system.
$ git clone https://github.com/webduinoio/webduino-blockly.git $ cd webduino-blockly $ bower installNow, webduino-blockly has been successfully installed. Open your browser point it to index.html.
Insert scripts in your html:
<script src="https://webduino.io/components/webduino-js/dist/webduino-all.min.js"></script> <script src="webduino-blockly.js"></script> Then paste-in the code generated by Blockly.
Require the module:
require('webduino-blockly');Then paste-in the code generated by Blockly.