BMP280-arduino-library icon indicating copy to clipboard operation
BMP280-arduino-library copied to clipboard

Fix ADC values reading & made different Arduino platforms compatible

Open Atominick opened this issue 3 years ago • 0 comments

  1. ADC values were summing inside uint8_t variable and overflowing. Added explicit type conversion to uint32_t
  2. Wire lib for some platforms (Arduino nano e.g.) don`t have begin(sdaPin, sclPin) method. This caused compilation error. Removed BMP280::begin(int sdaPin, int sclPin) method
  3. In _debugSerial mode in some statements variable p was changed to P as p do not exist

Atominick avatar Jul 15 '22 12:07 Atominick