Owner manual
Contents
Contents ii
1 Introduction 1
1.1 What to Expect From the GLK12232-25-WBL . . ...................... 1
1.2 What Not to Expect From the GLK12232-25-WBL ...................... 1
1.3 Keypad Interface . . . ..................................... 1
1.4 mogd.exe ............................................ 1
1.5 Setting up ............................................ 2
1.6 Trying Out the GLK12232-25-WBL . ............................. 3
1.7 Trying out a Keypad . ..................................... 3
1.7.1 Here’s what to do: . . ................................. 3
1.8 Manual Over-ride . . . ..................................... 4
2 Connectionshttp://www.atmel.com/dyn/resources/prod_documents/doc2593.pdf 4
2.1 Connector Pinout . . . ..................................... 4
2.1.1 Power Connections . . ................................. 6
2.1.2 RS-232 Communications . . . ............................. 6
2.1.3 I
2
C Communications . ................................. 6
2.1.4 ACK . . . . . ..................................... 7
2.2 General Purpose Outputs . . . ................................. 7
3 Displaying Text 8
3.1 General . ............................................ 8
3.2 Writing Text to the Display . . ................................. 9
3.3 Text Commands . . . . ..................................... 9
3.3.1 Auto scroll on (254 81) ................................. 9
3.3.2 Auto scroll off (254 82) . . . ............................. 9
3.3.3 Set text insertion point (254 71 [col] [row]) ...................... 9
3.3.4 Set current text insertion point to top Left (254 72) .................. 10
3.3.5 Set text insertion point using pixel values (254 121 [x][y]) .............. 10
3.3.6 Set current font (254 49 [font ID]) . . . . . ...................... 10
3.3.7 Set font metrics (254 50 [metrics]) . . . . . ...................... 10
4 Displaying Graphics 10
4.1 General . ............................................ 11
4.2 Graphics Commands . ..................................... 11
4.2.1 Set drawing color (254 99 [color]) . . . . . ...................... 12
4.2.2 Draw line (254 108 [x1][y1][x2][y2]) . . . ...................... 12
4.2.3 Continue line (254 101 [x][y]) ............................. 12
4.2.4 Put pixel (254 112 [x][y]) . . ............................. 12
4.2.5 Draw outline rectangle (254 114 [color][x1][y1][x2][y2]) . .............. 12
4.2.6 Draw solid rectangle (254 120 [color][x1][y1][x2][y2]) . . .............. 12
4.2.7 Initialize bar graph (254 103 [ref][type][x1][y1][x2][y2]) .............. 13
4.2.8 Write to bar graph (254 105 [reference number][value]) . .............. 13
Matrix Orbital GLK12232-25-WBL ii