I finished the code for the demo for the VFD. It uses the 8 bit parallel bus. I am working on the serial bus version to save I/O lines and a MSP-430 C code version.
I finished the code for the demo for the VFD. It uses the 8 bit parallel bus. I am working on the serial bus version to save I/O lines and a MSP-430 C code version.
Hi Parker,
Thank you for sharing your work on the VFD display especially the data sheet! Serial hookup could not be simpler and here’s my test sketch for Arduino which I’m sure you can port to almost anything. I’d have done it in SPIN but I’ve never used it before… hehe.
Thanks again,
Hank
//code start
// Written in Arduino 1.01
// Tested with Arduino UNO R2 and Arduino Pro 5v/16Mhz
#include
SoftwareSerial VFD(10, 11); // I used Pin 10 for Serial Data
// Pin 1 on the VFD connect to Pin 10 on Arduino
// Pin 2 on the VFD connect to GND
// Pin 1 on VFD power connector to 5V
void setup() {
VFD.begin(1200);
VFD.write((byte)0x0A); //Clear text
VFD.write((byte)0x1B); //Put cursor at
VFD.write((byte)0×00); //Position 0
VFD.print(“Hello World”);
}
void loop() {
// Your code goes here!
}
//code end