Advertisement
Spirit13300

test2

Apr 10th, 2017
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mon = peripheral.wrap("top")
  2. mon.setCursorPos(1,1)
  3. mon.write("Gestion de la maison :")
  4. mon.setCursorPos(1,2)
  5. mon.write("Allumage Electricité")
  6. mon.setCursorPos(9,4)
  7. mon.write("Gestion d'energie")
  8. mon.setCursorPos(9,5)
  9. mon.write("Gestion des gas")
  10. mon.setCursorPos(9,6)
  11. mon.write("Gestion des spawner")
  12. mon.setCursorPos(9,7)
  13. mon.write("Gestion des coffre")
  14.  
  15.  
  16. while true do
  17.     event , sides , xpos ,ypos = os.pullEvent("monitor_touch")
  18.     print("x pos ="..xpos)
  19.     print("y pos ="..ypos)
  20.      end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement