Difference between revisions of "Vfd"

From Review or Discard at Will
Jump to: navigation, search
(add categories)
(VFD: add Module .pdf)
Line 47: Line 47:
  
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
 +
===Documentation===
 +
5X7 Dot Character VFD Module CU24025ECPB-U1J
 +
[[File:CU24025ECPB-U1J.pdf|page=1|400px]]
  
  

Revision as of 10:42, 26 September 2023

Purchased from ePay arduino LDC library works. 1/2 byte word

VFD

  
// jha 9 July 2016
// I bought a VFD on eBay that uses an LCD compatible configuration

#include <LiquidCrystal.h>

/*
  The circuit:
   LCD RS pin to digital pin 12
   LCD Enable pin to digital pin 11
   LCD D4 pin to digital pin 5
   LCD D5 pin to digital pin 4
   LCD D6 pin to digital pin 3
   LCD D7 pin to digital pin 2
*/

int RS = 12;
int EN = 11;
int D4 = 5;
int D5 = 4;
int D6 = 3;
int D7 = 2;

// initialize the library with the numbers of the interface pins
// LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
LiquidCrystal lcd(RS, EN, D4, D5, D6, D7);

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("hello, world!");

}
void loop() {
  lcd.noDisplay();
  delay(500);
  // Turn on the display:
  lcd.display();
  delay(500);
}


Documentation

5X7 Dot Character VFD Module CU24025ECPB-U1J CU24025ECPB-U1J.pdf