aboutsummaryrefslogtreecommitdiff
path: root/drawtext/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'drawtext/main.go')
-rw-r--r--drawtext/main.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/drawtext/main.go b/drawtext/main.go
new file mode 100644
index 0000000..21efbea
--- /dev/null
+++ b/drawtext/main.go
@@ -0,0 +1,16 @@
+package main
+
+import "dim13.org/robo"
+
+func main() {
+ dev := robo.NewDevice()
+ defer dev.Close()
+
+ handle := dev.Handle()
+ defer robo.Home(handle.Writer)
+
+ robo.Initialize(handle, 113, robo.Portrait)
+ robo.A4.UpperRight(handle.Writer)
+ robo.PrintStdin(handle.Writer)
+ //robo.DrawPic(handle.Writer)
+}