
495
Appendices
■
Output Ports
A user program can control the hardware through the output ports by using the OUT statement.
BHT-BASIC defines each of these ports as a byte. The table below lists the output ports and
their controlling function in the BHT.
Port No. Bit assignment
*1
Controls the following:
10
1
Reading confirmation LED (red)
*2
Reading confirmation LED (green)
*2
0: OFF
0: OFF
1: ON
1: ON
3 3-0 LCD contrast level
*3
0 to 11 (0: Lowest, 11: Highest)
4 0 Message version 0: Japanese 1: English
5 0 Alphabet entry function 0: Disable 1: Enable
6 7-0 Sleep timer
*4
0 to 255
80
2
Wakeup function
*5
TIME$ function
*6
0: Deactivate
0: Select the sys-
tem time
1: Activate
1: Select the
wakeup time
Eh 0 System status indication
*7
0: OFF 1: ON
Fh 7-0 Re-read prevention enabled time
*8
0 to 255
10h-24Fh 7-0 VRAM
*9
0: OFF 1: ON
6000h 0 Initiation of System Mode
*10
0: Do not
initiate
1: Initiate
6020h
6021h
0
7-0
LCD backlight
*11
LCD backlight ON-duration
*11
0: Turns OFF
0 to 255
1: Turns ON
6030h 7-0 Effective held-down time of power
key
*12
1 to 255
6060h 7-0 Communications protocol
*13
0: BHT-protocol 2: BHT-Ir protocol
6061h
6062h
7-0
7-0
ID (lower byte)
*14
ID (upper byte)
*14
0 to 255
0 to 255
6070h 0 Output pulse width of IR beam
*15
0: 1.63 µs 1: 3/16 bit time
6080h 0 Display font size
*16
0: Standard-size 1: Small-size
6090h
*17
0
1
Beeper
Vibrator
0: Deactivate
0: Deactivate
1: Activate
1: Activate
Comentários a estes Manuais