kylej1050
|
GU-7000 Series
Feb 25, 2014
GU-7000 Series
Feb 25, 2014
I've got a GU144x16D-7053B and have not been able to get this code to work. Below is the example code.
[CODE]#include
#include
#include
#include
#include
#include
// ****************************************************
// ****************************************************
// Uncomment one of the communication interfaces below.
//
GU7000_Serial_Async interface(38400,3, 5, 7); // BAUD RATE,SIN,BUSY,RESET
//GU7000_Serial_Sync interface(3, 5, 6, 7); // SIN,BUSY,SCK,RESET
//GU7000_Serial_SPI interface(3, 5, 6, 7, 8); // SIN,BUSY,SCK,RESET,CS
//GU7000_Parallel interface('R', 8,9,10,11, 0,1,2,3,4,5,6,7); // Module Pin#3=RESET; BUSY,RESET,WR,RD,D0-D7
//GU7000_Parallel interface('B', 8,9,10,11, 0,1,2,3,4,5,6,7); // Module Pin#3=BUSY; BUSY,RESET,WR,RD,D0-D7
//GU7000_Parallel interface('N', 8,9,10,11, 0,1,2,3,4,5,6,7); // Module Pin#3=nothing; BUSY,RESET,WR,RD,D0-D7
//
// ****************************************************
// ****************************************************
Noritake_VFD_GU7000 vfd;
void setup() {
_delay_ms(500); // wait for device to power up
vfd.begin(144, 16); // 140x16 module
vfd.interface(interface); // select which interface to use
// Enter the 4-digit model class number
// E.g. 7040 for GU140X16G-7040A
vfd.isModelClass(7053);
vfd.isGeneration('B'); // Uncomment this for B generation
vfd.GU7000_reset(); // reset module
vfd.GU7000_init(); // initialize module
// Print Noritake on screen.
vfd.print("Noritake");
}
void loop() {
}[/CODE]
My wiring is 100% correct, just nothing on the screen. If I take the SIN wire off and connect it randomly I can get random text on the screen so I know the display works. I downloaded the code above and it did not work in Arduino IDE 1.0.5.
[CODE]#include
#include
#include
#include
#include
#include
// ****************************************************
// ****************************************************
// Uncomment one of the communication interfaces below.
//
GU7000_Serial_Async interface(38400,3, 5, 7); // BAUD RATE,SIN,BUSY,RESET
//GU7000_Serial_Sync interface(3, 5, 6, 7); // SIN,BUSY,SCK,RESET
//GU7000_Serial_SPI interface(3, 5, 6, 7, 8); // SIN,BUSY,SCK,RESET,CS
//GU7000_Parallel interface('R', 8,9,10,11, 0,1,2,3,4,5,6,7); // Module Pin#3=RESET; BUSY,RESET,WR,RD,D0-D7
//GU7000_Parallel interface('B', 8,9,10,11, 0,1,2,3,4,5,6,7); // Module Pin#3=BUSY; BUSY,RESET,WR,RD,D0-D7
//GU7000_Parallel interface('N', 8,9,10,11, 0,1,2,3,4,5,6,7); // Module Pin#3=nothing; BUSY,RESET,WR,RD,D0-D7
//
// ****************************************************
// ****************************************************
Noritake_VFD_GU7000 vfd;
void setup() {
_delay_ms(500); // wait for device to power up
vfd.begin(144, 16); // 140x16 module
vfd.interface(interface); // select which interface to use
// Enter the 4-digit model class number
// E.g. 7040 for GU140X16G-7040A
vfd.isModelClass(7053);
vfd.isGeneration('B'); // Uncomment this for B generation
vfd.GU7000_reset(); // reset module
vfd.GU7000_init(); // initialize module
// Print Noritake on screen.
vfd.print("Noritake");
}
void loop() {
}[/CODE]
My wiring is 100% correct, just nothing on the screen. If I take the SIN wire off and connect it randomly I can get random text on the screen so I know the display works. I downloaded the code above and it did not work in Arduino IDE 1.0.5.