This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 以下のコードを読み込むと、Brickクラスのメソッドが追加されます。 | |
# | |
# LEDを光らせる | |
# @brick.set_led(色) | |
# 色は0〜9の数値 | |
# 例: @brick.set_led(6) | |
# | |
# 音を鳴らす | |
# @brick.play_tone(音量, 周波数, 長さ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emotion :+1: :-1: :clap: :heart: :sparkles: :v: :zzz: | |
icon :new: :ok: :cool: :vs: :tm: :warning: :wheelchair: :zap: :art: :bomb: :bulb: :key: :lock: :memo: :mag: | |
item :book: :gift: :moneybag: :mega: :scissors: :hammer: | |
device :computer: :iphone: :calling: :email: | |
human :cop: :runner: :feet: :fist: :punch: :lipstick: :tophat: | |
food :beer: :cake: :smoking: | |
behicle :airplane: :bike: :bus: :ski: :taxi: :train: | |
animal :bear: :fish: :octocat: | |
nature :fire: :leaves: :star: :sunny: |