hevohevo

CC: mon3

Apr 18th, 2016
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. -- mon3
  2. -- 文字サイズ小さくしてたくさんの文字を表示できるようにする
  3. local mon = peripheral.wrap("top") -- 変数monに各種操作関数を詰め込む
  4. mon.clear()
  5. mon.setCursorPos(1,1)
  6.  
  7. mon.setTextScale(0.5)  -- 文字のサイズを0.5にする(標準は1)
  8.  
  9. print(mon.getSize())
  10.  
  11. mon.write("Hello CC World!")
Add Comment
Please, Sign In to add comment