I*ve splitted up follwing thread: http://www.stm32duino.com/viewtopic.php ... 9&start=10
last post by me:
Getting I2c working should not be a big problem.
Maybe this is new to you:
There are two different versions of I2c in the library/wire folder:
"Hardwire.h" this is the hardware version of I2c, I got it successfully running on the maple.
"Wire.h" is only a ugly software implementation (with a lot of digitalWrites and /Reads) it's set as "standard". Only advantage: You can set every pin you want. I didn't play with it and I'm not going to use it. As in wire.h there are following defaults:
#define SDA 19
#define SCL 20
#define SOFT_STANDARD 16
#define SOFT_FAST 0
(don't know what the last two entries are... maybe you only need to change SDA and SCL or just try them out)
I'll try to get my I2C OLED working with "hardwire.h" this week.