- Edited
Hi,
I just got my hand on the feather board v1. I was able to build and flash codes. The BME280 code flashes but doesn’t work. The code works on nrf9160 dk. I enabled CONFIG_BOOTLOADER_MCUBOOT=y and added the location to cmake and updated the overlay file
/ {
aliases {
bootloader-led0 = &blue_led;
};
};
&i2c2 {
compatible = "nordic,nrf-twim";
status = "okay";
sda-pin = <0>;
scl-pin = <1>;
clock-frequency = <I2C_BITRATE_FAST>;
bme280@76 {
compatible = "bosch,bme280";
reg = <0x76>;
label = "BME280";
};
};
&gpio0 {
status = "ok";
};
I am using pin 0 and 1 for SDA and clk
Also I couldn’t find the pin layout for the feather board v1 only found for v2. Can the analog (A) pins be used as digital ?