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.
20 lines
441 B
Go
20 lines
441 B
Go
package I2C
|
|
|
|
import (
|
|
"fmt"
|
|
"os/exec"
|
|
)
|
|
|
|
/*
|
|
Probably going to just make shell scripts and call them accordingly
|
|
Using OS commands is toooo hard :(
|
|
*/
|
|
|
|
func Discover() [string]int {
|
|
// Discover() takes no arguements and returns a map of Sensor types -> I2C addresses
|
|
// probably easies to just call a shell script and return a array of sensor addresses
|
|
// from there correlate an addr to its type
|
|
}
|
|
func Test() {
|
|
|