Skip to content

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