HOLA,
estoy teniendo problemas con la librería, ni siquiera me es posible cargar el programa de ejemplo porque el código arroja bastantes errores, ya intente descargando distintas librerias y el resultado es el mismo.
Estos son los errores que tiene el programa ejemplo:
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp: In member function 'void Adafruit_BMP280::write8(byte, byte)':
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:101: error: 'class SPIClass' has no member named 'beginTransaction'
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:101: error: 'SPISettings' was not declared in this scope
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:107: error: 'class SPIClass' has no member named 'endTransaction'
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp: In member function 'uint8_t Adafruit_BMP280::read8(byte)':
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:129: error: 'class SPIClass' has no member named 'beginTransaction'
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:129: error: 'SPISettings' was not declared in this scope
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:135: error: 'class SPIClass' has no member named 'endTransaction'
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp: In member function 'uint16_t Adafruit_BMP280::read16(byte)':
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:158: error: 'class SPIClass' has no member named 'beginTransaction'
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:158: error: 'SPISettings' was not declared in this scope
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:164: error: 'class SPIClass' has no member named 'endTransaction'
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp: In member function 'uint32_t Adafruit_BMP280::read24(byte)':
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:218: error: 'class SPIClass' has no member named 'beginTransaction'
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:218: error: 'SPISettings' was not declared in this scope
C:\Users\HP Mexico\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:230: error: 'class SPIClass' has no member named 'endTransaction'
Alguien que ya haya podia solucionar este problema?. Gracias
bmp280test.ino (1.64 KB)