i2c and sensors for nrf51822 cloned from i2cdevlib