I have a scrolling sign using four SURE 0832 units, running off a Duemilanove and Arduino 1.0. The library is from GitHub - gauravmm/HT1632-for-Arduino: A powerful library that allows an Arduino to interface with the popular Holtek HT1632C LED driver.. I'm using pins 2,3,5,6,7 and 8 to drive the SURE modules. I skip pin 4 because the current Ethernet Shield hardware uses pin 4 for the SD card. I don't know if it's necessary in this case, since the shield I'm using doesn't have an SD card, but I thought I'd eliminate as many variables as possible at this point.
The sign works fine until I add the Ethernet Shield, which is from Seeed version 1.1, produced late in 2009. When connected and powered-up, the shield blinks the pin 13 LED about once every second, but that's it. There are no signals from the pins that go to the SURE display unit, except for a short state toggle at the same time the LED toggles.
I'm including my code below:
#include <font_5x4.h>
#include <HT1632.h>
int wd;
int i = 1;
void setup () {
HT1632.begin(8, 7, 6, 5, 3, 2);
wd = HT1632.getTextWidth("Art can make you rich overnight. . . . . .", FONT_5X4_WIDTH, FONT_5X4_HEIGHT);
}
void loop () {
// Select board 1 as the target of subsequent drawing/rendering operations.
HT1632.drawTarget(BUFFER_BOARD(1));
HT1632.clear();
HT1632.drawText("Art can make you rich overnight. . . . . .", 4*OUT_SIZE - i, 0,
FONT_5X4, FONT_5X4_WIDTH, FONT_5X4_HEIGHT, FONT_5X4_STEP_GLYPH);
HT1632.render(); // Board 1's contents is updated.
// Select board 2 as the target of subsequent drawing/rendering operations.
HT1632.drawTarget(BUFFER_BOARD(2));
HT1632.clear();
HT1632.drawText("Art can make you rich overnight. . . . . .", 3*OUT_SIZE - i, 0,
FONT_5X4, FONT_5X4_WIDTH, FONT_5X4_HEIGHT, FONT_5X4_STEP_GLYPH);
HT1632.render(); // Board 2's contents is updated.
// Select board 3 as the target of subsequent drawing/rendering operations.
HT1632.drawTarget(BUFFER_BOARD(3));
HT1632.clear();
HT1632.drawText("Art can make you rich overnight. . . . . .", 2*OUT_SIZE - i, 0,
FONT_5X4, FONT_5X4_WIDTH, FONT_5X4_HEIGHT, FONT_5X4_STEP_GLYPH);
HT1632.render(); // Board 3's contents is updated.
// Select board 4 as the target of subsequent drawing/rendering operations.
HT1632.drawTarget(BUFFER_BOARD(4));
HT1632.clear();
HT1632.drawText("Art can make you rich overnight. . . . . .", OUT_SIZE - i, 0,
FONT_5X4, FONT_5X4_WIDTH, FONT_5X4_HEIGHT, FONT_5X4_STEP_GLYPH);
HT1632.render(); // Board 4's contents is updated.
i = (i+1)%(wd + OUT_SIZE * 2); // Make it repeating.
delay(4);
}