Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- mon1
- -- 真上に設置したモニターに文字を表示する
- local mon = peripheral.wrap("top") -- 変数monに各種操作関数を詰め込む
- mon.clear() -- モニターのクリア
- mon.setCursorPos(1,1) -- カーソル位置を座標(1,1)にセット
- mon.write("Hello!") -- 座標(1,1)から文字を表示
Add Comment
Please, Sign In to add comment