1010
1111void UpdateBME280Data ();
1212
13- #define Celsius // Show temperature mesaurement in Celcius otherwise is in Fahrenheit
13+ #define Celsius // Show temperature measurement in Celsius otherwise is in Fahrenheit
1414BME280I2C bme; // Default : forced mode, standby time = 1000 ms
1515 // Oversampling = pressure ×1, temperature ×1, humidity ×1, filter off,
1616
@@ -20,14 +20,14 @@ uint8_t SDA_PIN = 21;
2020#else // ESP8266 boards
2121uint8_t SCL_PIN = 5 ;
2222uint8_t SDA_PIN = 4 ;
23- // uint8_t RST_PIN = 16; // Uncoment for Heltec WiFi-Kit-8
23+ // uint8_t RST_PIN = 16; // Un-comment for Heltec WiFi-Kit-8
2424#endif
2525
2626// The SCL and SDA pins are defined here.
2727// ESP8266 Wemos D1 mini board use SCL=5 SDA=4 while ESP32 Wemos32 mini board use SCL=22 SDA=21
2828#define U8X8_PIN_SCL SCL_PIN
2929#define U8X8_PIN_SDA SDA_PIN
30- // #define U8X8_PIN_RESET RST_PIN // Uncoment for Heltec WiFi-Kit-8
30+ // #define U8X8_PIN_RESET RST_PIN // Un-comment for Heltec WiFi-Kit-8
3131
3232// If display does not work or looks corrupted check the
3333// constructor reference:
@@ -36,9 +36,9 @@ uint8_t SDA_PIN = 4;
3636// https://github.com/olikraus/u8g2/wiki/gallery
3737// --> First choise of cheap I2C OLED 128X32 0.91"
3838U8X8_SSD1306_128X32_UNIVISION_HW_I2C u8x8 (U8X8_PIN_NONE, U8X8_PIN_SCL, U8X8_PIN_SDA); // Pins are Reset, SCL, SDA
39- // --> Second choise of cheap I2C OLED 128X64 0.96" or 1.3"
39+ // --> Second choice of cheap I2C OLED 128X64 0.96" or 1.3"
4040// U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(U8X8_PIN_NONE, U8X8_PIN_SCL, U8X8_PIN_SDA); // Pins are Reset, SCL, SDA
41- // --> Third choise of Heltec WiFi-Kit-8 OLED 128X32 0.91"
41+ // --> Third choice of Heltec WiFi-Kit-8 OLED 128X32 0.91"
4242// U8X8_SSD1306_128X32_UNIVISION_HW_I2C u8x8(U8X8_PIN_RESET, U8X8_PIN_SCL, U8X8_PIN_SDA); // Constructor for Heltec WiFi-Kit-8
4343// gets called once at boot. Do all initialization that doesn't depend on network here
4444
@@ -181,11 +181,11 @@ void userLoop() {
181181 // First row with Wifi name
182182 u8x8.setCursor (1 , 0 );
183183 u8x8.print (knownSsid.substring (0 , u8x8.getCols () > 1 ? u8x8.getCols () - 2 : 0 ));
184- // Print `~` char to indicate that SSID is longer, than owr dicplay
184+ // Print `~` char to indicate that SSID is longer than our display
185185 if (knownSsid.length () > u8x8.getCols ())
186186 u8x8.print (" ~" );
187187
188- // Second row with IP or Psssword
188+ // Second row with IP or Password
189189 u8x8.setCursor (1 , 1 );
190190 // Print password in AP mode and if led is OFF.
191191 if (apActive && bri == 0 )
0 commit comments