 BLEPeripheral blePeripheral = BLEPeripheral(BLE_REQ, BLE_RDY, BLE_RST);
 
 BLEService tempService = BLEService("CCC0");
-BLECharacteristic tempCharacteristic = BLECharacteristic("CCC1", BLERead | BLENotify, 7);
+BLEFloatCharacteristic tempCharacteristic = BLEFloatCharacteristic("CCC1", BLERead | BLENotify);
 BLEDescriptor tempDescriptor = BLEDescriptor("2901", "Temp Celsius");
 
 BLEService humidityService = BLEService("DDD0");
-BLECharacteristic humidityCharacteristic = BLECharacteristic("DDD1", BLERead | BLENotify, 6);
+BLEFloatCharacteristic humidityCharacteristic = BLEFloatCharacteristic("DDD1", BLERead | BLENotify);
 BLEDescriptor humidityDescriptor = BLEDescriptor("2901", "Humidity Percent");
 
 volatile bool readFromSensor = false;

//  float reading = random(100);
  
  if (!isnan(reading) && significantChange(lastTempReading, reading, 0.5)) {
    char formatted[7];
    dtostrf(reading, 3, 1, formatted);
    tempCharacteristic.setValue(formatted);
    
    Serial.print(F("Temperature: ")); Serial.print(reading); Serial.println(F("C"));
    

//  float reading = random(100);

  if (!isnan(reading) && significantChange(lastHumidityReading, reading, 1.0)) {
    humidityCharacteristic.setValue(reading);
    
    Serial.print(F("Humidity: ")); Serial.print(reading); Serial.println(F("%"));
    
