btn
書式
btn()
説明
基板上のボタンが押されていたらtrueを返し、そうでなければfalseを返します。
[
以下のRubyプログラムをダウンロード
]
?
1
2
3
4
5
while
true
if
btn
led 1
end
end
目次に戻る