SGX-120L User Manual, rev2.0
Page 20 of 21
http://www.seetron.com/sgxmnl.htm
2002-11-13
Note that you can send positions as either number strings like "28" followed by a throwaway character
(like [space]), or as a single byte. The byte value is the 64. In the example, 28 is represented by
a byte value of 92, which is the ASCII code for "\". In a program, you'd send a byte value as a byte - an
unsigned char in C, or a CHR$( ) in BASIC.
Recipe 2: Displaying an EEPROM Screen
This recipe shows how to display an image stored in EEPROM and flash the image between normal and
reversed modes. It assumes that the factory-installed screens are still stored in memory. If they are not,
the images displayed will vary from the description.
Recipe 3: Combining Font Sizes
This recipe shows how different fonts can be displayed on the same screen. Note that the font size is set
before the screen address input.
Recipe 4: Selective Highlighting
This recipe shows how to use [esc] R to selectively highlight lines of text.
[cntl-P]p 99 mph
shortcut for "48" is 64+48=112; p is ASCII 112
Type this:
Purpose/effect
[cntl-L]
Clear screen
[esc] E 2 [space]
Show EEPROM image 2 (G12032 title screen)
[esc] E 3 [space]
Show EEPROM image 3 ("Intruder Alert")
[esc] R 15 [space]
Reverse (invert) the whole screen
[esc] R 0 [space]
Un-reverse the whole screen
Type this:
Purpose/effect
[cntl L]
Clear screen
[esc] F 0 [space]
Set 4x20 font
[cntl-P] 40 [space]
Go to position 1, 3rd line.
Try this cool trick!
[esc] F 3 [space]
Set 2x10 font
[cntl-P] 0 [space]
Go to position 1, 1st line.
WOW!
[ESC] F 1 [space]
Set 4x10 font
[cntl-P] 5 [space]
Go to position 5
MIXED
[cntl-P] 15 [space]
Go to position 15
FONTS
[esc] F 1 [space]
Set 4x10 font
[cntl-P] 31 [space]
Go to position 31
DYNAMITE!