diff --git a/rfm69d/rfm69d.go b/rfm69d/rfm69d.go index 7804868..4423db8 100644 --- a/rfm69d/rfm69d.go +++ b/rfm69d/rfm69d.go @@ -36,8 +36,9 @@ func main() { rfm, err := rfm69.NewDevice(spiBus, gpio, 1, 10, true) if err != nil { - t.Error(err) + log.Fatal(err) } - t.Log(rfm) + t.Print(rfm) + rfm.Loop() }