Interested?

* Indicates a required field

- from

How to use the font magnification command

In this tutorial we will show you how to use the font magnification command and display them to the CU-Y Series module. Once executed, fonts will continue to display in that size until: font magnification command with different parameter is executed, initialized command is sent, reset command is sent, or when the power is off. Underline represents the cursor once the codes are sent.

Step 1 – Display the default font

In this example we will display the number 0 (ASCII-based character code: 30h).

Display default font style with the Y Series VFD (vacuum fluorescent display) module

Send the following code to the Y Series module

//Initialize the Y Series module (optional)
1Bh 40h
//ASCII-based character code for “0”
30h

Step 2 – Apply the vertical parameter

We will now display the same character with vertical parameter.

Character with vertical scale applied to the Y Series VFD (vacuum fluorescent display) module

Send the following code to the Y Series module

//Font magnification command
1Fh 28h 67h 40h 01h 02h
//ASCII-based character code for “0”
30h

Codes breakdown

Line #6

1Fh 28h 67h 40h
1
01h 02h
2
  1. Font magnification command.
  2. Set the vertical parameter to fill 2 characters worth of height.
    Default value is: 01h 01h.

Step 3 – Apply the horizontal and vertical parameter

We will now display the same character with horizontal and vertical parameter.

Character with vertical scale applied to the Y Series VFD (vacuum fluorescent display) module

Send the following code to the Y Series module

//Font magnification command
1Fh 28h 67h 40h 02h 02h
//ASCII-based character code for “0”
30h

Codes breakdown

Line #10

1Fh 28h 67h 40h
1
02h 02h
2
  1. Font magnification command.
  2. Set the horizontal and vertical parameter to fill 2 characters worth of width and height.
    Default value is: 01h 01h.