Fixed typos in notes (#155)
This commit is contained in:
parent
a192a018c6
commit
010595e1ba
@ -13,7 +13,7 @@
|
|||||||
/* Example code to talk to a bme280 humidity/temperature/pressure sensor.
|
/* Example code to talk to a bme280 humidity/temperature/pressure sensor.
|
||||||
|
|
||||||
NOTE: Ensure the device is capable of being driven at 3.3v NOT 5v. The Pico
|
NOTE: Ensure the device is capable of being driven at 3.3v NOT 5v. The Pico
|
||||||
GPIO (and therefor SPI) cannot be used at 5v.
|
GPIO (and therefore SPI) cannot be used at 5v.
|
||||||
|
|
||||||
You will need to use a level shifter on the SPI lines if you want to run the
|
You will need to use a level shifter on the SPI lines if you want to run the
|
||||||
board at 5v.
|
board at 5v.
|
||||||
@ -52,7 +52,7 @@ int16_t dig_H2, dig_H4, dig_H5;
|
|||||||
/* The following compensation functions are required to convert from the raw ADC
|
/* The following compensation functions are required to convert from the raw ADC
|
||||||
data from the chip to something usable. Each chip has a different set of
|
data from the chip to something usable. Each chip has a different set of
|
||||||
compensation parameters stored on the chip at point of manufacture, which are
|
compensation parameters stored on the chip at point of manufacture, which are
|
||||||
read from the chip at startup and used inthese routines.
|
read from the chip at startup and used in these routines.
|
||||||
*/
|
*/
|
||||||
int32_t compensate_temp(int32_t adc_T) {
|
int32_t compensate_temp(int32_t adc_T) {
|
||||||
int32_t var1, var2, T;
|
int32_t var1, var2, T;
|
||||||
|
|||||||
Reference in New Issue
Block a user