Updated code with full sensor support

support for temperature, humidity, and pressure sensors, along with RTC
integration. Currently untested.