daily pastebin goal
18%
SHARE
TWEET

CC: mon1

hevohevo Apr 18th, 2016 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- mon1
  2. -- 真上に設置したモニターに文字を表示する
  3. local mon = peripheral.wrap("top") -- 変数monに各種操作関数を詰め込む
  4.  
  5. mon.clear()  -- モニターのクリア
  6.  
  7. mon.setCursorPos(1,1)  -- カーソル位置を座標(1,1)にセット
  8.  
  9. mon.write("Hello!")  -- 座標(1,1)から文字を表示
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