Advertisement
JustinzocktYT

A logo for our train company

Jan 28th, 2023 (edited)
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | Source Code | 0 0
  1. -- Überprüfen Sie, ob eine GPU vorhanden ist
  2. local gpu = component.gpu
  3. local component = require("component")
  4.  
  5. if not gpu then
  6. error("Keine GPU gefunden.")
  7. end
  8.  
  9. -- Set the resolution to 80x25
  10. gpu.setResolution(80,25)
  11.  
  12. -- Set the background color to blue
  13. gpu.setBackground(0x0000FF)
  14.  
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement