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.
Noritake presents “Easy to use” Modules.
Step 1 – Display the default font
In this example we will display the number 0 (ASCII-based character code: 30h).
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.
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
1
2
- Font magnification command.
- 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.
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
1
2
- Font magnification command.
- Set the horizontal and vertical parameter to fill 2 characters worth of width and height.
Default value is: 01h 01h.
This tutorial is based on “Font Magnification” in the specification.