Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am iotmod on github.
  • I am iotmod (https://keybase.io/iotmod) on keybase.
  • I have a public key ASCGfSp1G-vj9zQlbmUyuCOQ71pU21b1Db0xP-KWUCMtZAo

To claim this, I am signing this object:

//Define
//Register mit der ID
#define ID_REG (uint8_t)0xD0
//Adresse des BME280 mit Links-Shift um 1 von 0x76 (0x76 << 1), um auf die Form 7-Bit-Adresse + R/W-Bit (1110110X) zu gelangen
#define BME280_ADDR (uint8_t)0xEC
uint8_t buffer[2];
int main(){
...