Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function start()
- --stop terminate events
- os.pullEvent = os.pullEventRaw
- --clear the screen
- func.clear()
- --check if drive is present
- if periph.pScan('drive') == 1 then
- drive = true
- end
- --check if monitor is present
- if periph.pScan('monitor') == 1 then
- monitor = true
- end
- --check if printer is present
- if periph.pScan('printer') == 1 then
- printer = true
- end
- --check if modem is present
- if periph.pScan('modem') == 1 then
- modem = true
- periph.modem()
- end
- --start main menu
- ui.main()
- end
Add Comment
Please, Sign In to add comment