Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- mon5
- -- 青い直線を表示する
- local mon = peripheral.wrap("top") -- 変数monに各種操作関数を詰め込む
- mon.setTextColor(colors.white)
- mon.setBackgroundColor(colors.black)
- mon.clear()
- mon.setTextScale(0.5) -- 文字のサイズを0.5にする(標準は1)
- mon.setCursorPos(1,2)
- mon.setBackgroundColor(colors.blue) -- 背景色 青
- mon.write(" ") -- 半角スペースを10個
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement