aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.go b/main.go
index cb97dff..2d2f196 100644
--- a/main.go
+++ b/main.go
@@ -9,6 +9,8 @@ func main() {
cu := NewCutter(dev.Handle())
p := pens["pen"]
+ cu.Initialize()
+
v, _ := cu.Version()
fmt.Println("Craft ROBO Ver.", v)
@@ -20,9 +22,13 @@ func main() {
defer cu.Home()
defer cu.LineType(Solid)
- cu.TestCut()
+ //cu.TestCut()
//cu.TestPattern()
//cu.EasterEgg()
+ //cu.DrawMarks()
+ cu.Move(Point{300, 300})
+ cu.SearchMarks()
+ //cu.Bezier(1, Point{0,0},Point{0,1000},Point{0,0},Point{1000,0})
/*
for i := 0; i < 9; i++ {