beautypg.com

5fonts, 1 introduction – Matrix Orbital GLK12232-25-FGW User Manual

Page 24

background image

Examples

Crystal Speed 16 Mhz

Desired BAUD 13,500

speed

=

crystalspeed

8 ∗ DesiredBaud

−1

speed

= 148

.

15 − 1

speed

=

16

,

000

,

000

8 ∗ 13

,

500

− 1

speed

= 147

.

15

LSB = 0x93 (rounded)
MSB = 0x00
• Intended Baud Rate: 13,500 baud

Actual Baud Rate:

16

,

000

,

000

8

(147+1)

=13,514

Percent Difference: 0.1%

NOTES

• Results from the formula are rounded down to the nearest whole number (i.e 73.07

= 73).

• This formula becomes less acurate as baud rates increase, due to rounding.
• Place the speed result backwards into the formula to receive the actual baud rate.

(Baud

=

CrystalSpeed

8

(speed+1)

)

• The actual baud rate must be within 3% of the intended baud rate for the device to

communicate.

NOTES

• This command is not available in I2C mode.

5

Fonts

5.1

Introduction

The GLK12232-25 comes loaded with the ’Small Filled’ and ’Futura Bk BT 16’ fonts by default. How-

ever, it is capable of displaying any font that is uploaded to it in the correct format. MOGD# provides a
simple method of generating font files from your installed fonts. For instructions on how to install MOGD#
see Section 1.5.1 on page 5.

Matrix Orbital

GLK12232-25

19