aboutsummaryrefslogtreecommitdiff
path: root/robo.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-09-25 14:30:18 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-09-25 14:30:18 +0200
commit91489f1134568813fd5fac1e651d21cfd91e4ccd (patch)
tree23ed18304426d6f64a0e781b0b2315e56e4ecc9d /robo.go
parentdf0f1c3f0ca7264c44012ac657d1f7168f864965 (diff)
wip
Diffstat (limited to 'robo.go')
-rw-r--r--robo.go12
1 files changed, 3 insertions, 9 deletions
diff --git a/robo.go b/robo.go
index 8e63ad3..8623083 100644
--- a/robo.go
+++ b/robo.go
@@ -3,14 +3,6 @@ package robo
import (
"bufio"
"fmt"
- "io"
-)
-
-const (
- NUL = 0x00 // Null
- ETX = 0x03 // End of Text
- ESC = 0x1B // Escape
- FS = 0x1C // File Separator
)
func etx(c *bufio.Writer) {
@@ -154,11 +146,13 @@ func str(c *bufio.ReadWriter, cmd string) string {
return recv(c.Reader)
}
+/*
func Version(c io.Writer) string {
io.WriteString(c, "FG")
//return str(c, "FG")
return ""
}
+*/
//func Version(c *bufio.ReadWriter) string { return str(c, "FG") }
func StatusWord(c *bufio.ReadWriter) string { return str(c, "@") }
@@ -193,7 +187,7 @@ func Initialize(c *bufio.ReadWriter, mid int, o Orientation) {
}
GoHome(c.Writer)
- fmt.Println("Craft ROBO Ver.", Version(c))
+ //fmt.Println("Craft ROBO Ver.", Version(c))
if pen, ok := MediaID[mid]; ok {
pen.Apply(c.Writer)