I have a DHT11 sensor connected to a Yún shield, and I am reading data from the sensor using DHT library:
indoorHumidity = dhtBedRom.readHumidity();
// Read temperature as Celsius
indorTempinC = dhtBedRom.readTemperature();
// Read temperature as Fahrenheit
indorTempinF = dhtBedRom.readTemperature(true);
// Compute heat index, Must send in temp in Fahrenheit!
hi = dhtBedRom.computeHeatIndex(indorTempinF, indoorHumidity);
hIinCel = (hi + 40) / 1.8 - 40;
dP = (dewPointFast(indorTempinC, indoorHumidity));
dPF = ((dP * 9) / 5) + 32;
and then I am trying to put the data dew point and temperature, humidity and heat index to BridgeClient
key so I can read it in a python program that renders HTML and displays using Python's bottle
wsgi framework.
These lines produce errors:
Bridge.put(DEWPNTkey, dP);
Bridge.put(HEADINDXkey, hIinCel);
saying:
no matching function for call to 'SerialBridgeClass::put(String&, float&)'