From 91489f1134568813fd5fac1e651d21cfd91e4ccd Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 25 Sep 2016 14:30:18 +0200 Subject: wip --- robo.go | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'robo.go') 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) -- cgit v1.2.3