How to store the custom font
In this tutorial, we will show you how to store the custom font into Y Series modules random-access memory (RAM).
Y Series can store up to 16 custom fonts between character codes 20h and FFh.
Download PDF printable version ►
Step 1 - Store your design into RAMIn this step, we will be using the design created and converted from "How to convert custom font":
Fig. 1 Conversion table with sample conversion
Byte 1: BFh
Byte 2: D6h
Byte 3: 5Ah
Byte 4: 6Bh
Byte 5: FDh
Send the following codes to store the design above into character code 21h:
1Bh 26h 01h 21h 21h 05h BFh D6h 5Ah 6Bh FDh
- Stores the custom font into the Y Series module's RAM.
- Sets the start and end character code locations.
When storing a custom font, the start and end value is the same.
- Fixed, sets the width of the custom character
- The converted data in order of Byte 1 to Byte 5
This tutorial is based on "RAM user font Define" in the specification.
Download the Y Series spec ►