diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index a4b04d0..b7ca85d 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "8197e2b" +#define GITHUB_SHA "d12714d" diff --git a/SSD1306Ascii.cpp b/SSD1306Ascii.cpp index feb0f0d..c99383a 100644 --- a/SSD1306Ascii.cpp +++ b/SSD1306Ascii.cpp @@ -21,9 +21,9 @@ // Maximum number of bytes we can send per transmission is 32. -const uint8_t FLASH SSD1306AsciiWire::blankPixels[32] = +const uint8_t SSD1306AsciiWire::blankPixels[16] = {0x40, // First byte specifies data mode - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; //============================================================================== // SSD1306AsciiWire Method Definitions @@ -41,7 +41,7 @@ void SSD1306AsciiWire::clear(uint8_t columnStart, uint8_t columnEnd, setCursor(columnStart, r); // Position at start of row to be erased for (uint8_t c = columnStart; c <= columnEnd; c += maxBytes-1) { uint8_t len = min((uint8_t)(columnEnd-c+1), maxBytes-1) + 1; - I2CManager.write_P(m_i2cAddr, blankPixels, len); // Write up to 31 blank columns + I2CManager.write(m_i2cAddr, blankPixels, len); // Write up to 15 blank columns } } } diff --git a/config.example.h b/config.example.h index b4751b5..396d3dd 100644 --- a/config.example.h +++ b/config.example.h @@ -60,7 +60,7 @@ The configuration file for DCC-EX Command Station // is set (recommended), that password will be used for AP mode. // The AP mode password must be at least 8 characters long. // -// Your SSID may not conain ``"'' (double quote, ASCII 0x22). +// Your SSID may not contain ``"'' (double quote, ASCII 0x22). #define WIFI_SSID "Your network name" // // WIFI_PASSWORD is the network password for your home network or if