Firmware for Pic24 to facilitate access to i2c sensors and android device