Had problems with getting the OLED working with the MEGA, but I've solved it with this thread. Thanks.
This was I did:
Got the CRIUS CO-16 v1.0 from dx.com this week.
Solution (tested Arduino v1.0.5):
1. Use pins: SCL = D0 (21) , SDA = D1 (20), VCC = 5V , GND=GND (no
100 ohm resistor was needed in my case)
2. Download the files from Mike's post
3. Open .ino, config.h (OLED_address must be set to 0x3c) and data.c in one Sketch in Arduino
4. Alter the ino file on the lines for the PULLUPS into:
#define I2C_PULLUPS_ENABLE PORTD |= 1<<0; PORTD |= 1<<1; // PIN D0&D1 (D1: SDA & D0: SCL) //Mod
#define I2C_PULLUPS_DISABLE PORTD &= ~(1<<0); PORTD &= ~(1<<1); //Mod
5. Check code and upload
Thanks and have fun!
11-10-2013: Used it also with a Teensy++2.0 with the same code modification. It worked for some days and somedays not and tonight I got also snow!! I could only solve this by placing the 100 Ohm resistor in the Vcc line. I'm looking for a different combination of OLED and PCB (I don't have the eyes anymore for building one and/or soldering in this detail).