Problem with getting library image onto a Freetronics OLED128 screen

Hi!

I’m trying to put some video on loop onto an OLED128 screen from an EtherMega 2560 and am using this site as a guide to start, before I attempt to load my own video from SD card. They have several visual examples that come from a library rather than an SD card.

I have downloaded the FTOLED library and have adjusted the pin #'s in the sketch “all drawing operations” to match my wiring (see attached).

The code (below) seems to load fine, but nothing appears on the screen (see image of Arduino IDE). The port, programmer and board settings are included in the code below.

Any ideas?

Here is the code:
/*

  • A very simple sketch showing all the possible drawing operations you can do
    /
    /

    *Tools - Port - usbmodem 1421 selected
  • Tools - Programmer - ATMega 2560 selected
  • Tools - Board - Arduino Mega selected
    */
    #include <SPI.h>
    #include <SD.h>
    #include <FTOLED.h>

const byte pin_cs = 7;
const byte pin_dc = 2;
const byte pin_reset = 3;

OLED oled(pin_cs, pin_dc, pin_reset);

void setup()
{
oled.begin();

// Fill the background with dark red (the values in the curly braces are {RED,GREEN,BLUE} )
OLED_Colour background = {10,0,0};
oled.fillScreen(background);

// Horizontal blue line from (30,30) to (90,30)
oled.drawLine(30,30,90,30,ROYALBLUE);

// Diagonal black line across the screen
oled.drawLine(0,127,127,0,BLACK);

// Draw a filled circle and then an outline of a circle around it
oled.drawFilledCircle(64,64,12,CYAN);
oled.drawCircle(64,64,18,WHITE);

// Draw a yellow box in the top-right
oled.drawFilledBox(90,90,120,120,YELLOW);

// With an outline of a violet box underneath it
oled.drawBox(90,50,120,80,5,VIOLET);
}

void loop()
{
}

I'm having the same problem - one time I got some coloured "static" on the screen but otherwise it has remained blank.

I'm using Arduino 1:1.05 under Linux mint with a Freetronics "Eleven" board (UNO clone)

All wiring is as per the first diagram at http://www.freetronics.com.au/pages/oled128-quickstart-guide#.V86MxKIWWR8

I'll keep tinkering and post back if I have any success.

Unfortunately I'm not quite sure what I did to fix it... but uploading the sketch again seems to have fixed the issue.