I am running into an error "cmdTemperature was not declared in this scope"
I thought it was a spelling error, but I am not finding the type, so I was wondering if something else could be causing this error.
DHT dht(A0, DHT11);
Serial.println("Lab 2b - Command Temp and Humidity");
void.cmdTemperature(int argc, char**args)
float temperature = dht.readTemperature();
Serial.println(" deg Celsius");
void.cmdHumidity(int argc, char**args)
float humidity = dht.readHumidity()
3 February 2021 6:44am
In the cmdTemperature and cmdHumidity functions, there's full stops between void and cmdTemperature and cmdHumidity. Can you try removing them and see if that works?