Skip to content

Commit facafde

Browse files
committed
Add the other stages.
1 parent 8abfc9b commit facafde

12 files changed

Lines changed: 421 additions & 18 deletions

File tree

index-stages.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,13 @@ <h4><a href="./?lang=zh-hant&page=stages/button-4" target="_blank">5、兩人賽
4747
</li>
4848

4949
<li>
50-
<h4><a href="./?lang=zh-hant&page=tutorials/led-3" target="_blank">6、倒車雷達 (待整理)</a></h4>
51-
<div>( <a href="https://youtu.be/TVcc4yChxy0" target="_blank">影片教學</a> | <a href="./?lang=zh-hant&page=tutorials/led-3#-JvMuD8cPViCJFD4VRSr" target="_blank">解答</a> )</div>
50+
<h4><a href="./?lang=zh-hant&page=stages/ultrasonic-7" target="_blank">6、倒車雷達</a></h4>
51+
<div>( <a href="https://www.youtube.com/watch?v=PDr1SfZ50ME" target="_blank">影片教學</a> | <a href="./?lang=zh-hant&page=stages/ultrasonic-7#-KcG4MBXl1riit-tXiM0" target="_blank">解答</a> )</div>
5252
</li>
5353
<li>
54-
<h4><a href="./?lang=zh-hant&page=tutorials/led-3" target="_blank">7、平交道管制 (待整理、僅影片,缺積木解答)</a></h4>
55-
<div>( <a href="https://youtu.be/TVcc4yChxy0" target="_blank">影片教學</a> | <a href="./?lang=zh-hant&page=tutorials/led-3#-JvMuD8cPViCJFD4VRSr" target="_blank">解答</a> )</div>
54+
<h4><a href="./?lang=zh-hant&page=stages/servo-3" target="_blank">7、平交道管制 (待整理、僅影片,缺積木解答)</a></h4>
55+
<div>( <a href="https://www.youtube.com/watch?v=wt_y51t01r8" target="_blank">影片教學</a> | <a href="./?lang=zh-hant&page=stages/servo-3#-KcRx3Fb-qAEN2DYFObU" target="_blank">解答</a> )</div>
5656
</li>
57-
5857
<li>
5958
<h4><a href="./?lang=zh-hant&page=stages/ultrasonic-6" target="_blank">8、超音波控制 Youtube 頻道</a></h4> <div>(
6059
<a href="./?lang=zh-hant&page=stages/ultrasonic-6#-JxEs_Z0dmBi0nu3Pylw" target="_blank">解答</a> )</div>

js/stages.js

Lines changed: 96 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

msg/stages/servo-3/en.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MSG.title = "Webduino Blockly Stage 7 : Controlling a Servomotor and a Buzzer with a Ultrasonic.";
2+
MSG.subTitle = "Stage 7 : Controlling a Servomotor and a Buzzer with a Ultrasonic";
3+
MSG.demoDescription = "Controlling a Servomotor and a Buzzer with a Ultrasonic.";

msg/stages/servo-3/zh-hans.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MSG.title = "Webduino Blockly 关卡 7:平交道管制";
2+
MSG.subTitle = "关卡 7:平交道管制";
3+
MSG.demoDescription = "利用开发板控制超音波、三色灯、伺服马达与蜂鸣器";

msg/stages/servo-3/zh-hant.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MSG.title = "Webduino Blockly 關卡 7:平交道管制";
2+
MSG.subTitle = "關卡 7:平交道管制";
3+
MSG.demoDescription = "利用開發版控制超音波、三色燈 、伺服馬達與蜂鳴器";

msg/stages/ultrasonic-7/en.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MSG.title = "Webduino Blockly Stage 6 : Parking sensors";
2+
MSG.subTitle = "Stage 6 : Parking sensors";
3+
MSG.demoDescription = "Use the ultrasonic sensor to measure distance and control the buzzer.";

msg/stages/ultrasonic-7/zh-hans.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MSG.title = "Webduino Blockly 关卡 6:倒车雷达";
2+
MSG.subTitle = "关卡 6:倒车雷达";
3+
MSG.demoDescription = "使用超音波传感器,控制蜂鸣器的频率。";

msg/stages/ultrasonic-7/zh-hant.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MSG.title = "Webduino Blockly 關卡 6:倒車雷達";
2+
MSG.subTitle = "關卡 6:倒車雷達";
3+
MSG.demoDescription = "使用超音波傳感器,控制蜂鳴器的頻率。";

templates/stages/servo-3.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template id="head">
2+
<meta charset="utf-8">
3+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
4+
<title data-translation="title">Webduino Blockly - 使用按鈕開關控制伺服馬達</title>
5+
<!-- webduino -->
6+
<script src="https://webduino.io/components/webduino-js/dist/webduino-all.min.js"></script>
7+
<script src="https://blockly.webduino.io/webduino-blockly.js"></script>
8+
<script src="https://blockly.webduino.io/lib/runtime.min.js"></script>
9+
</template>
10+
<template id="body">
11+
<div id="show">0</div>
12+
</template>
13+
<template id="css">
14+
#show {
15+
font-size: 120px;
16+
}
17+
</template>

templates/stages/ultrasonic-7.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template id="head">
2+
<meta charset="utf-8">
3+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
4+
<title data-translation="title">Webduino Blockly - 倒車雷達</title>
5+
<!-- webduino -->
6+
<script src="https://webduino.io/components/webduino-js/dist/webduino-all.min.js"></script>
7+
<script src="https://blockly.webduino.io/webduino-blockly.js"></script>
8+
<script src="https://blockly.webduino.io/lib/runtime.min.js"></script>
9+
</template>
10+
<template id="body">
11+
<div id="show">0</div>
12+
</template>
13+
<template id="css">
14+
#show {
15+
font-size: 120px;
16+
}
17+
</template>

0 commit comments

Comments
 (0)