Skip to content

webduinoio/webduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webduino

Web components for Webduino

Installation

$ bower install webduino

Usage

Insert webduino web-components and polyfill:

<script src='bower_components/webcomponentsjs/webcomponents.js'></script>
<link rel='import' href='bower_components/webduino/web-arduino.html'></link>
<link rel='import' href='bower_components/webduino/wa-led.html'></link>

Use it in your html:

<web-arduino id='board' device='device_id'>
  <wa-led id='led' pin='10'></wa-led>
</web-arduino>

Control it with javascript:

window.addEventListener('WebComponentsReady', function() {
  var board = document.getElementById('board'),
    led = document.getElementById('led');

  board.on('ready', function () {
    led.on();
  });
});

API

(coming soon...)

See Also

webduino-js (The javascript core that powers webduino)

License

This project is licensed under MIT, please see LICENSE for more information.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy