Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Adafruit_BMP280.h #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Area5111
Copy link

@Area5111 Area5111 commented Sep 22, 2022

Line 35 + 36 fixed - something was messed up with this 2 lines so the alternative address was not working

Line 35 had additional spaces and so the alternative address was not working
@caternuson
Copy link
Contributor

Can you provide a basic sketch that demonstrates this issue.

The clang formatter wants the line to be like it is, which is why the CI is failing:
image

@caternuson
Copy link
Contributor

This sketch:

#include <Adafruit_BMP280.h>

void setup() {
  Serial.begin(9600);
  while(!Serial);
  Serial.print("BMP280_ADDRESS_ALT = 0x");
  Serial.println(BMP280_ADDRESS_ALT, 16);
}

void loop() {
}

produces the expected output using a QT Py M0:

BMP280_ADDRESS_ALT = 0x76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants