diff --git a/README.md b/README.md
index 3f6e1c6..cd99ce5 100644
--- a/README.md
+++ b/README.md
@@ -8,18 +8,11 @@ Web components for Webduino
$ bower install webduino
```
-Build webduino-js dist files:
-
-```Shell
-$ cd bower_components/webduino-js
-$ npm install && npm run build
-```
-
## Usage
Insert webduino web-components and polyfill:
-```
+```html
@@ -27,7 +20,7 @@ Insert webduino web-components and polyfill:
Use it in your html:
-```
+```html
@@ -54,4 +47,6 @@ _(coming soon...)_
[webduino-js](https://github.com/webduinoio/webduino-js) (The javascript core that powers webduino)
-## [License](LICENSE)
\ No newline at end of file
+## License
+
+This project is licensed under MIT, please see [LICENSE](LICENSE) for more information.
diff --git a/bower.json b/bower.json
index 10416b8..97d3d22 100644
--- a/bower.json
+++ b/bower.json
@@ -7,6 +7,6 @@
"license": "MIT",
"dependencies": {
"webcomponentsjs": "0.x",
- "webduino-js": "0.x"
+ "webduino-js": "dist"
}
}
diff --git a/demo/barcode.html b/demo/barcode.html
new file mode 100644
index 0000000..22c86cd
--- /dev/null
+++ b/demo/barcode.html
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+ Barcode Scanner
+
+
+
+
+
+
+
+
+
+
+
+
+ 說明:
+
+
點擊燈炮,啟動接收Barcode資料
+
+

+

+
+
+
+
+
+
+
+
diff --git a/demo/g3.html b/demo/g3.html
new file mode 100644
index 0000000..0af0455
--- /dev/null
+++ b/demo/g3.html
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+ Detect humidity and temperature
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 需接地及5V電源, G3 rx: 2 , tx: 3
+ 使用G3傳感器,偵測現場PM25 , PM10
+ none
+
+
+
+
+
+
diff --git a/demo/hx711.html b/demo/hx711.html
new file mode 100644
index 0000000..b4e42a1
--- /dev/null
+++ b/demo/hx711.html
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+ 電子秤(hx711)
+
+
+
+
+
+
+
+
+
+
+
+
+ 說明:
+
等顯示0g後,季可開始測量物體重量
+
+
+
+
點擊燈炮,啟動電子秤
+
+

+

+
+
+
+
+
+
+
+
diff --git a/demo/oled.html b/demo/oled.html
new file mode 100644
index 0000000..66357e4
--- /dev/null
+++ b/demo/oled.html
@@ -0,0 +1,29 @@
+
+
+
+
+
+ OLED(SSD1306)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/rfid.html b/demo/rfid.html
new file mode 100644
index 0000000..fccca81
--- /dev/null
+++ b/demo/rfid.html
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+ RFID(RC522)
+
+
+
+
+
+
+
+
+
+
+
+
+ 接線:3.3v 和 gnd 及 SDA(10), MOSI(11), MISO(12), SCK(13)
+ 說明:
+
接收到訊號時,會拋出字串,訊號源離開時,會收到空字串。
+
+
+
+
點擊燈炮亮起,啟動 RFID,熄燈則關閉 RFID
+
+

+

+
+
+
+
+
+
+
+
diff --git a/demo/soil.html b/demo/soil.html
new file mode 100644
index 0000000..5109948
--- /dev/null
+++ b/demo/soil.html
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+ 土壤溼度
+
+
+
+
+
+
+
+
+
+
+
+
+
+ soil analog pin : 5 (A3)
+ 說明:
+
值介於 0 ~ 100% 之間,數字愈大,溼度愈高。
+
+
+
+
點擊燈炮,啟動土壤溼度感測器
+
+

+

+
+
+
+
+
+
+
+
diff --git a/demo/stepper.html b/demo/stepper.html
index f1d43f7..7efafa7 100644
--- a/demo/stepper.html
+++ b/demo/stepper.html
@@ -2,38 +2,179 @@
+
+
+ 步進馬達
-
-
-
+
+
+
+
+ ULN2003 達林頓晶片驅動步進馬達驅動板上的 IN1, IN2, IN3, IN4 分別接上四個數位腳位 8, 9, 10, 11
+ stepperNumber:設定馬達的編號 0~5
+ interface:馬達的相數
+ stepsPerRevolution:馬達轉一圈的步數
+
+
+ 控制命令
+ direction:0, 1 (CW clockwise 順時針, CCW counterclockwise 逆時針)
+ stepNumber:轉動步數
+ speed:步進馬達(型號28BYJ-48, 5V DC),建議 10~160 單位(0.01 rad/sec)
+
-
-
+
+
點擊燈炮,步進馬達會執行指令
+
+

+

+
+
+

+
+
+
+
+
diff --git a/img/stepper.jpg b/img/stepper.jpg
new file mode 100644
index 0000000..f5f2a55
Binary files /dev/null and b/img/stepper.jpg differ
diff --git a/wa-barcode.html b/wa-barcode.html
new file mode 100644
index 0000000..e4bff0b
--- /dev/null
+++ b/wa-barcode.html
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/wa-g3.html b/wa-g3.html
new file mode 100644
index 0000000..5346d20
--- /dev/null
+++ b/wa-g3.html
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/wa-hx711.html b/wa-hx711.html
new file mode 100644
index 0000000..8b8c6a3
--- /dev/null
+++ b/wa-hx711.html
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/wa-rfid.html b/wa-rfid.html
new file mode 100644
index 0000000..eb7bf52
--- /dev/null
+++ b/wa-rfid.html
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/wa-soil.html b/wa-soil.html
new file mode 100644
index 0000000..5dfe588
--- /dev/null
+++ b/wa-soil.html
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/wa-ssd1306.html b/wa-ssd1306.html
new file mode 100644
index 0000000..65c4121
--- /dev/null
+++ b/wa-ssd1306.html
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/wa-stepper.html b/wa-stepper.html
new file mode 100644
index 0000000..c21e271
--- /dev/null
+++ b/wa-stepper.html
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web-arduino.html b/web-arduino.html
index e9d84ff..e1e8e8e 100644
--- a/web-arduino.html
+++ b/web-arduino.html
@@ -9,7 +9,6 @@