Matrix-orbital VFD2041 User Manual Page 32

  • Download
  • Add to my manuals
  • Print
  • Page
    / 53
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 31
Syntax
Hexadecimal 0xFE 0x4E [refID] [data]
Decimal 254 78 [refID] [data]
ASCII 254 “N” [refID] [data]
Parameters
Parameter Length Description
refID 1 Character reference ID (0-7).
data 8 Character data.
Description The VFD2041 allows for upta to eight custom defined characters to be
added onto the the character set. A custom character is a five by eight
pixel matrix with each row represented by a byte value. For example:
Custom Character ’h’ Decimal Hex
1 0 0 0 0 16 0x10
1 0 0 0 0 16 0x10
1 0 0 0 0 16 0x10
1 0 0 0 0 16 0x10
1 0 1 1 0 22 0x16
1 1 0 0 1 25 0x19
1 0 0 0 1 17 0x11
1 0 0 0 1 17 0x11
Each bit value of one, in the table, represents an onpixel, whereas a value
of zero represents a pixel that is turned off. Therefore in order to define
custom character ’h’ you would send the command byte prefix 254 fol-
lowed by the command 78. Next, you will have to select the memory
location in which you wish to save the character in. The available mem-
ory locations for this command are zero through to seven. After sending
the memorylocation, or [refID],you may then send the eight byte custom
character data in sequence from the top to the bottom.
Once you have defined a custom character you may display it by sending
the display module the [refID]. For example if a custom character was
saved in position one, the command to display the custom character, at
the current cursor position, would be simply to send the number one to
the display module without quotes.
Remembered No
6.3 Saving Custom Characters
Syntax
Hexadecimal 0xFE 0xC1 [Bank] [ID] [Data]
Decimal 254 193 [Bank] [ID] [Data]
Parameters
Parameter Length Description
Bank 1 Memory bank to save to (0-4).
ID 1 Character ID (0-7)
Data 8 Character Definition
Matrix Orbital VFD2041 28
Page view 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 52 53

Comments to this Manuals

No comments