32x32 LED Project - Duplicating Values

I am trying to print text on my 32x32 LED Matrix. Everything I print is being duplicated and I'm not sure why. See attachment for a simple example.

Any help would be greatly appreciated.

I am using the following code:

#include <Adafruit_GFX.h>   // Core graphics library
#include <RGBmatrixPanel.h> // Hardware-specific library

#define CLK 8
#define OE  9
#define LAT 10
#define A   A0
#define B   A1
#define C   A2
#define D   A3

RGBmatrixPanel matrix(A, B, C, D, CLK, LAT, OE, false);

void setup() {

matrix.begin();

matrix.setCursor(0, 0);    // start at top left, with one pixel of spacing
matrix.setTextSize(1);     // size 1 == 8 pixels high
matrix.setTextWrap(false); // Don't wrap at end of line - will do ourselves

matrix.setTextColor(matrix.Color333(7,7,7));
matrix.print('3');
}

That phantom figure is displaced in the X direction by 16 pixels. That libiary can handle both 32by 16 and 32by32 panels.

From looking at the libiary code it looks like you are giving the wrong number of parameters to the initialisation line. You need seven for a 32by16 and nine for a 32by32.

Your code is only giving eight parameters.

RGBmatrixPanel matrix(A, B, C, D, CLK, LAT, OE, false)

This looks quite odd.

Do you have a datasheet for ths module?

Grumpy_Mike:
Your code is only giving eight parameters.

Mike the 9th parameter for the 32x32 panel constructor has a default and it seems appropriate:

  // Constructor for 32x32 panel (adds 'd' pin):
  RGBmatrixPanel(uint8_t a, uint8_t b, uint8_t c, uint8_t d,
    uint8_t sclk, uint8_t latch, uint8_t oe, boolean dbuf, uint8_t width=32);

So what's my suggestion? I don't have one, sorry. That's why I posted the image and nothing more.