summaryrefslogtreecommitdiff
path: root/c/blankscreen/blankscreen.c
diff options
context:
space:
mode:
authorcheapie <cheapiephp@gmail.com>2026-05-29 16:02:49 -0500
committercheapie <cheapiephp@gmail.com>2026-05-29 16:02:49 -0500
commitbaa99d7688127a06e407edcadded63fb6efe2dc1 (patch)
tree0d59c5d639282ed00c386098d1e1277bd1ff8549 /c/blankscreen/blankscreen.c
parent6fa24a0ca5271446f6e2be72f110bb8a64a3f035 (diff)
downloadrvcontroller-baa99d7688127a06e407edcadded63fb6efe2dc1.tar
rvcontroller-baa99d7688127a06e407edcadded63fb6efe2dc1.tar.gz
rvcontroller-baa99d7688127a06e407edcadded63fb6efe2dc1.tar.bz2
rvcontroller-baa99d7688127a06e407edcadded63fb6efe2dc1.tar.xz
rvcontroller-baa99d7688127a06e407edcadded63fb6efe2dc1.zip
Add screen-clearing utility
Diffstat (limited to 'c/blankscreen/blankscreen.c')
-rw-r--r--c/blankscreen/blankscreen.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/c/blankscreen/blankscreen.c b/c/blankscreen/blankscreen.c
new file mode 100644
index 0000000..d188637
--- /dev/null
+++ b/c/blankscreen/blankscreen.c
@@ -0,0 +1,19 @@
+/* Screen Clearing Tool for RVController
+ * A product of Advanced Mesecons Devices, a Cheapie Systems company
+ * This is free and unencumbered software released into the public domain.
+ * See http://unlicense.org/ for more information */
+
+#include "rvcontroller-ecalls.h"
+
+char color[] = "000000";
+char channel[] = "A1";
+
+void main(void) {
+ for (int y=0;y<=5;y++) {
+ channel[1] = '1' + y;
+ for (int x=0;x<=19;x++) {
+ channel[0] = 'A' + x;
+ digiline_send(channel,color);
+ }
+ }
+}