Paolo-Maffei / u8glib

Automatically exported from code.google.com/p/u8glib
Other
1 stars 0 forks source link

Support for SoftI2C on Arduino #288

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The need is to use the SSD1306 128x64 OLED display with support for SoftI2C, 
for instances where the SDA and SCL pins are used up. 

The SoftI2C library is already available at 
https://github.com/felias-fogg/SoftI2CMaster and it could be worth a shot to 
try and include it to fit in easily

Original issue reported on code.google.com by ankit...@gmail.com on 1 Oct 2014 at 10:51

GoogleCodeExporter commented 9 years ago
Thanks for adding this issue

Original comment by olikr...@gmail.com on 1 Oct 2014 at 10:56

GoogleCodeExporter commented 9 years ago
I have been spending some time adding code for the implmentation. Right now, I 
am stuck with an overloaded function :

testOLED:55: error: call of overloaded ‘U8GLIB_SSD1306_128X64(volatile 
unsigned char&, int, volatile unsigned char&, int)’ is ambiguous
~/Arduino/libraries/U8glib/U8glib.h:778: note: candidates are: 
U8GLIB_SSD1306_128X64::U8GLIB_SSD1306_128X64(uint8_t, uint8_t, uint8_t, uint8_t)
~/Arduino/libraries/U8glib/U8glib.h:769: note:                 
U8GLIB_SSD1306_128X64::U8GLIB_SSD1306_128X64(uint8_t, uint8_t, uint8_t, 
uint8_t, uint8_t)

I think I know a fix, will try it and report back if that doesn't work

Original comment by ankit...@gmail.com on 4 Oct 2014 at 2:01

GoogleCodeExporter commented 9 years ago
Did you add any additional constructor?

Original comment by olikr...@gmail.com on 5 Oct 2014 at 6:27

GoogleCodeExporter commented 9 years ago
SW I2C is there for Due only.
Am not sure how to handle this. SW I2C might eat up to much of Flash ROM.

Original comment by olikr...@gmail.com on 21 Dec 2014 at 5:24