From 94ddea4cfac60df45f48db3b25b0d9c62c066d94 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Fri, 29 Nov 2013 23:13:15 +1100 Subject: update MultiLCD library --- libraries/MultiLCD/SSD1306.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libraries/MultiLCD/SSD1306.cpp') diff --git a/libraries/MultiLCD/SSD1306.cpp b/libraries/MultiLCD/SSD1306.cpp index 7f7b8e8..5fc1ba0 100644 --- a/libraries/MultiLCD/SSD1306.cpp +++ b/libraries/MultiLCD/SSD1306.cpp @@ -1,5 +1,5 @@ #include -#include +//#include #include #include #include "SSD1306.h" @@ -238,8 +238,8 @@ void SSD1306::fill(unsigned char dat) ssd1306_command(0x10);//set higher column address ssd1306_command(0xB0);//set page address - uint8_t twbrbackup = TWBR; - TWBR = 18; // upgrade to 400KHz! + //uint8_t twbrbackup = TWBR; + //TWBR = 18; // upgrade to 400KHz! for (byte i=0; i<(SSD1306_LCDHEIGHT/8); i++) { // send a bunch of data in one xmission @@ -256,7 +256,7 @@ void SSD1306::fill(unsigned char dat) Wire.endTransmission(); } } - TWBR = twbrbackup; + //TWBR = twbrbackup; } void SSD1306::draw8x8(byte* buffer, uint8_t x, uint8_t y) -- cgit v1.2.3