#include #include //#include //#include #include //#include //#include #include // **************************************************** // **************************************************** // Uncomment one of the communication interfaces below. // //GU7000_SoftwareSerial interface(38400,3, 5, 7); // BAUD RATE,SIN,BUSY,RESET GU7000_Serial_Async interface(38400,2, 3, 4); // 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(500); // wait for device to power up vfd.begin(112, 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(7003); //vfd.isGeneration('B'); // Uncomment this for B generation vfd.GU7000_reset(); // reset module vfd.GU7000_init(); // initialize module vfd.print(" e-Gizmo"); vfd.print(" Mechatronix"); delay(2000); vfd.GU7000_clearScreen(); } void loop() { vfd.print("1234567890ABCDEF"); vfd.print("ABCDEFGHIJKLMNOP"); }