1
0
Fork 0
mirror of https://github.com/kidoman/embd synced 2025-07-03 03:47:33 +02:00

l3gd20: sends data as often as we get it from the sensor

This commit is contained in:
Karan Misra 2014-01-08 19:44:56 +05:30
parent b96018021e
commit d1e0e00ff7
2 changed files with 2 additions and 0 deletions

View file

@ -15,6 +15,7 @@ func main() {
log.Panic(err)
}
gyro := l3gd20.New(bus, l3gd20.R250DPS)
gyro.Poll = 50
defer gyro.Close()
gyro.Start()