Error:
../Src/main.c(107): error: #253: expected a ","
code part:
uint8_t maskPWR_MGMT_2[2] = {0x6c, 0b00000111};//6c
Error:
../Src/main.c(107): error: #253: expected a ","
code part:
uint8_t maskPWR_MGMT_2[2] = {0x6c, 0b00000111};//6c
Compiler does not seem to support 0b prefix for entering numbers in binary. You need to convert it to something else, like hex or decimal.