Make pins and i2c rate configurable