Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Überprüfen Sie, ob eine GPU vorhanden ist
- local gpu = component.gpu
- local component = require("component")
- if not gpu then
- error("Keine GPU gefunden.")
- end
- -- Set the resolution to 80x25
- gpu.setResolution(80,25)
- -- Set the background color to blue
- gpu.setBackground(0x0000FF)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement