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

documentation changes

This commit is contained in:
Karan Misra 2014-03-23 15:47:58 +05:30
parent 5c8ea918ab
commit d171cfdc90
13 changed files with 177 additions and 33 deletions

View file

@ -316,6 +316,7 @@ func (d *L3GD20) Temperature() (temp int, err error) {
return
}
// Orientations returns a channel which will have the current temperature reading.
func (d *L3GD20) Orientations() (orientations <-chan Orientation, err error) {
if err = d.setup(); err != nil {
return
@ -366,6 +367,7 @@ func (d *L3GD20) Start() (err error) {
return
}
// Stop the data acquisition loop.
func (d *L3GD20) Stop() (err error) {
if d.closing != nil {
waitc := make(chan struct{})