Problem with getting library image onto a Freetronics OLED128 screen


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()

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

// Horizontal blue line from (30,30) to (90,30)

// Diagonal black line across the screen

// Draw a filled circle and then an outline of a circle around it

// Draw a yellow box in the top-right

// With an outline of a violet box underneath it

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

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.