Updated monitor driver
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
local monitor = peripheral.find("monitor")
|
||||
monitor.setCursorPos(1, 1)
|
||||
local kernel = require("kernel")
|
||||
local monitor = kernel.addDriver("monitor-driver")
|
||||
|
||||
local function run()
|
||||
monitor.write("Starting system...\n")
|
||||
monitor.writeLine("Starting system...")
|
||||
monitor.writeLine("System started successfully!")
|
||||
end
|
||||
|
||||
return { run = run }
|
||||
Reference in New Issue
Block a user