Commit 147536fe2972b03f81de162b2c93467afb0ce9fc

Authored by Jeroen88
1 parent 37895a70

Some minor textual changes

examples/MQTT_Advanced_Thermostat/MQTT_Advanced_Thermostat.ino
... ... @@ -33,7 +33,7 @@
33 33 * Install the Adafruit BME280 library
34 34 * Any other temperature sensor may be used, like a Dallas sensor, BME380, BMP380, BME680 if you adapt the program accordingly.
35 35 *
36   - * Define the room temperature setpoint (desired room temperature) using #define ROOM_TEMPERATURE_SETPOINT. In a real application this should be settable.
  36 + * Set the room temperature setpoint (desired room temperature) using a MQTT client.
37 37 * Eventually define the maximum central heating boiler temperature setpoint using #define CH_MAX_SETPOINT.
38 38 *
39 39 * Compile and upload the program as normal. If the temperature measured by your sensor is lower than the ROOM_TEMPERATURE_SETPOINT this thermostat program
... ... @@ -59,7 +59,7 @@
59 59 *
60 60 * You MUST provide your WiFi credentials (const char * ssid and const char * password)
61 61 *
62   - * You MUST provide your MQTT server, MQTT user name and MQTT password (const char * mqtt_server, const char * mqtt_user = "CloudMQTT" and
  62 + * You MUST provide your MQTT server, MQTT user name and MQTT password (const char * mqtt_server, const char * mqtt_user and
63 63 * const char * mqtt_password)
64 64 * This thermostat publishes the corrected measured room temperature to the MQTT broker in topic 'temperature'
65 65 * It subscribes to topic 'room_temperature_setpoint' to receive the room temperature setpoint. This temperature is not persistant. If you restart the
... ...
src/EasyOpenTherm.cpp
... ... @@ -431,7 +431,7 @@ void OTPhysicalLayer::sendBit(uint8_t va
431 431 if(_state == STATE::INVALID) return; // Start reception after _send() has set _state to STATE::WAITING
432 432 // ::handleInterrupt() passes from STATE_WATING to STATE::START_BIT, to STATE::RECEIVING for the data bits, to _state STATE::READY after the stop bit
433 433 if(_state == STATE::READY) {
434   - if(!_primary && digitalRead(_rxPin) == HIGH) {
  434 + if(!_primary && digitalRead(_rxPin) == HIGH) {
435 435 _state = STATE::WAITING;
436 436 _frame = 0;
437 437 } else {
... ...