EasyManua.ls Logo

Bematech LB-1000 - Page 156

Bematech LB-1000
172 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
/ ,#F/ ,8F/ ,9
Description
This command reads the status of KEY1 ,KEY2 and KEY3.
Model
KEY0
KEY1
KEY2
KEY3
KEY4
KEY5
KEY6
LB
-
1000
PAUSE
FEED
Syntax
KEYm = n
Key Return Value
KEY1 (MENU) 0: released
1: pressed
KEY2 (PAUDE) 0: released
1: pressed
KEY3 (FEED) 0: released
1: pressed
Example
DOWNLOAD "DEMO.BAS"
SIZE 3,1
GAP 0,0
SPEED 4
DENSITY 8
DIRECTION 1
REFERENCE 0,0
SET LED1 OFF
SET KEY1 OFF
LED1=0
:START
IF KEY1=1 THEN
LED1=1
CLS
TEXT 100,10,"3",0,1,1,"KEY FUNCTION TEST"
PRINT 1,1
ELSE
LED1=0
ENDIF
GOTO START
EOP
DEMO

Other manuals for Bematech LB-1000