bmxx80: clarify NewSPI documentation

The doc stated that NewSPI could be used for BME280. It can also be used for BMP280.
pull/1/head
Marc-Antoine Ruel 9 years ago
parent 14f6450ea7
commit e6e8b5e2b3

@ -320,8 +320,8 @@ func NewI2C(b i2c.Bus, addr uint16, opts *Opts) (*Dev, error) {
return d, nil return d, nil
} }
// NewSPI returns an object that communicates over SPI to BME280 environmental // NewSPI returns an object that communicates over SPI to either a BME280 or
// sensor. // BMP280 environmental sensor.
// //
// It is recommended to call Halt() when done with the device so it stops // It is recommended to call Halt() when done with the device so it stops
// sampling. // sampling.

Loading…
Cancel
Save