diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-15 13:49:12 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-15 13:49:12 +0200 |
commit | f8a3589bb9842ccf11a015be6fb26e50529ca040 (patch) | |
tree | 47e383bfa5c2eb8725e3bd847668c0d1762c1704 /robo.go | |
parent | 45d4b0df550fe3e2d56e25bc84717c289a134259 (diff) |
Prepare to switch
Diffstat (limited to 'robo.go')
-rw-r--r-- | robo.go | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -143,3 +143,20 @@ func (t Triple) send(c *bufio.Writer, cmd string) { } func (t Triple) Factor(c *bufio.Writer) { t.send(c, "&") } + +func Initialize(c *bufio.ReadWriter, mid int) { + Init(c.Writer) + if !Ready(c) { + fmt.Println("not ready") + } + GoHome(c.Writer) + fmt.Println(craftRobo, "Ver.", Version(c)) + + /* + pen := MediaID[mid] + pen.ID.Media(c.Writer) + pen.Speed.Speed(c.Writer) + pen.Force.Force(c.Writer) + pen.Overcut.Overcut(c.Writer) + */ +} |