Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Load API
- os.loadAPI("Papi/tDrive")
- --Set up two peripherals
- MO = 0
- Moni1, Moni2 = tDrive.findTperipherals("monitor")
- --Moni1 holds side info and mon1 is variable to write with
- mon1, mon2 = tDrive.wrapTperipherals(Moni1, Moni2)
- mon1.write("This is Monitor 1!")
- mon2.write("This is Monitor 2!")
- print("There is "..MO.."/2 monitors connected.")
Advertisement
Add Comment
Please, Sign In to add comment