You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
342 B
Go

// +build !baremetal
package main
import "os"
func connectAddress() string {
if len(os.Args) < 2 {
println("usage: heartrate-monitor [address]")
os.Exit(1)
}
// look for device with specific name
address := os.Args[1]
return address
}
// done just prints a message and allows program to exit.
func done() {
println("Done.")
}