summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-01 04:24:09 +0100
committerubq323 <ubq323@ubq323.website>2024-04-01 04:24:09 +0100
commit280db2aa8cd621decc00ad18be9704bffa372527 (patch)
tree39d0e59dc888b3c9037467c547d338ecb0895409
parent672a463f541e770a315805b1252011f68a941b09 (diff)
launch cm
-rw-r--r--cm.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/cm.lua b/cm.lua
new file mode 100644
index 0000000..faabea6
--- /dev/null
+++ b/cm.lua
@@ -0,0 +1,7 @@
+-- clear all monitors
+local ms = peripheral.find"monitor"
+for _,m in ipairs(ms) do
+ m.setPaletteColor(colors.black, 0, 0, 0)
+ m.setBackgroundColor(colors.black)
+ m.clear()
+end