/* Reads averaged ppb value from gas sensor. 
Reads sensor data utilizing custom gas sensor I2C library and sends this data over UART.  */
int32_t CN0429_SensorReadoutPPB(uint8_t sensor_address)
/* Reads averaged ppb value from gas sensor. 
Reads sensor data utilizing custom gas sensor I2C library and sends this data over UART.  */
int32_t CN0429_SensorReadoutPPB(uint8_t sensor_address)
{
	int32_t PPB_Gas_Reading = 0;
	eSensorResult = pGasSensor->open(sensor_address);
	eSensorResult = pGasSensor->ReadDataPPB(&PPB_Gas_Reading);
	eSensorResult = pGasSensor->close();
	delay_ms(10);
	return PPB_Gas_Reading;
}