daily pastebin goal
87%
SHARE
TWEET

CC: mon5

hevohevo Apr 18th, 2016 (edited) 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- mon5
  2. -- 青い直線を表示する
  3. local mon = peripheral.wrap("top")  -- 変数monに各種操作関数を詰め込む
  4. mon.setTextColor(colors.white)
  5. mon.setBackgroundColor(colors.black)
  6. mon.clear()
  7. mon.setTextScale(0.5)  -- 文字のサイズを0.5にする(標準は1)
  8.  
  9. mon.setCursorPos(1,2)
  10. mon.setBackgroundColor(colors.blue)  -- 背景色 青
  11. mon.write("          ")  -- 半角スペースを10個
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top