Skip to content

Instantly share code, notes, and snippets.

View 取得辨識手寫數字訓練資料.md
@wastu01
wastu01 / media.css
Created Dec 6, 2019
RWD 基本語法
View media.css
@media screen and (min-width:481px){
#div03 {
 width: calc((100%-10px)/2);
 height: 300px;
float: left;
}
#div05 {
 clear: both;
}
#div04 {
@wastu01
wastu01 / intro.html
Created Dec 6, 2019
RWD 基本語法
View intro.html
<div id="maindiv">
 <div id="div01">1</div>
 <div id="div02">2</div>
 <div id="div03">3</div>
 <div id="div04">4</div>
 <div id="div05">5</div>
 </div>
View Blockly-webduino.md

電路板相關知識

工具包

| 名詞 | 用途 | 備註 |

@wastu01
wastu01 / game.js
Last active Apr 12, 2019
按鈕競賽遊戲
View game.js
var button;
/*宣告按鈕*/
boardReady({board 'Smart', url: '172.20.10.6'}, function (board) {
/*smart 用websucket 連線*/
board.systemReset();
board.samplingInterval = 50;
button = getButton(board, 4);
/*上拉按鈕開關=4*/
var btnGameNpcShow_ = document.getElementById("npcshow"),