Matrix-orbital MOS-AL162F Manuel d'utilisateur Page 17

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 27
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 16
17
Special Characters
1.15. Creating a Custom
Character
Dec
Hex
ASCII
254 78
FE 4E
N
ID Data
ID Data
ID Data
Creates a custom character. Each character is divided into 8 rows of 5 pixels, each data byte represents one row.
Each byte is padded by three zero bits followed by five bits representing each pixel state. A one represents an on
condition while a zero is off. Characters are lost when a new memory bank is loaded, unless they are saved.
ID
1 byte, character ID 0-7
Data
8 bytes, character pixel data as shown below
Table 7: Custom Degree Character
Data1
000
p1
p2
p3
p4
p5
00001000
8
Data2
000
p1
p2
p3
p4
p5
00010100
20
Data3
000
p1
p2
p3
p4
p5
00001000
8
Data4
000
p1
p2
p3
p4
p5
00000011
3
Data5
000
p1
p2
p3
p4
p5
00000100
4
Data6
000
p1
p2
p3
p4
p5
00000100
4
Data7
000
p1
p2
p3
p4
p5
00000011
3
Data8
000
p1
p2
p3
p4
p5
00000000
0
1.16. Saving
Custom
Characters
Dec
Hex
254 193
FE C1
Bank ID Data
Bank ID Data
Provides access to all memory banks to create and save custom characters, graph bars, and large digits. Any new
characters saved will overwrite the old, so care should be taken when writing to any bar or digit memory bank.
Bank structure is shown below.
Bank
1 byte, memory bank ID (0-4)
ID
1 byte, character ID (0-7)
Data
8 bytes, character pixel data as above
Table 8: Custom Character Banks
0
Start-up Characters
1
Horizontal Bars
2
Vertical Bars
3
Medium Digits
4
Large Digits
1.17. Loading Custom
Characters
Dec
Hex
254 192
FE C0
Bank
Bank
Loads a bank of custom characters into memory for use. Must be issued before using a bank of characters.
Alternatively, an appropriate initialize command can be used.
Bank
1 byte, memory bank ID (0-4)
Vue de la page 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 26 27

Commentaires sur ces manuels

Pas de commentaire