Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("top")
- mon.setCursorPos(1,1)
- mon.write("Gestion de la maison :")
- mon.setCursorPos(1,2)
- mon.write("Allumage Electricité")
- mon.setCursorPos(9,4)
- mon.write("Gestion d'energie")
- mon.setCursorPos(9,5)
- mon.write("Gestion des gas")
- mon.setCursorPos(9,6)
- mon.write("Gestion des spawner")
- mon.setCursorPos(9,7)
- mon.write("Gestion des coffre")
- while true do
- event , sides , xpos ,ypos = os.pullEvent("monitor_touch")
- print("x pos ="..xpos)
- print("y pos ="..ypos)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement