Post topics, source code that relate to the Arduino Platform

User avatar
By AcmeUK
#94816 From what you have said you have uncommented the line to enable SPI mode.

To enter SPI mode the CS pin needs to be pulled down.

However the CS input pin has an internal pull-up resistor.

Hence to put the chip into SPI mode the CS pin needs to be connected to 0v and not to D8.

At least that is my reading of the BME280 data sheet.