- Returns
- (DATA8) STATUS - State [0,1] 0 = FAIL, 1 = SUCCESS
Direct test command examples: *
--------------------------------------
Set DIGIBI0, low
--------------------------------------
v
12000000000000FF0AFF0D0105842D2D302D2D00
0300000002
--------------------------------------
Set DIGIBI0, high
--------------------------------------
v
12000000000000FF0AFF0D0105842D2D312D2D00
0300000002
--------------------------------------
Set DIGIBI0, float
--------------------------------------
v
12000000000000FF0AFF0D0105842D2D582D2D00
0300000002
--------------------------------------
Read ADC value, Port 2, Pin 6
--------------------------------------
v
0B000000000200FF0AFF0E0560
0500000002xxxx
xxxx = A/D count [0..4095]
--------------------------------------
Activate 9V, Input Port 2
--------------------------------------
v
12000000000000FF0AFF0D010584312D2D2D2D00
0300000002
--------------------------------------
Read ADC value, Port 2, Pin 1
--------------------------------------
v
0B000000000200FF0AFF0E0160
0500000002xxxx
xxxx = A/D count [0..4095]
--------------------------------------
Deactivate 9V, Input Port 2
--------------------------------------
v
12000000000000FF0AFF0D010584302D2D2D2D00
0300000002
--------------------------------------
Transmit and receive "UUUUU" on Port 2
--------------------------------------
v
20000000000500FF0AFF118300C20100FF0F010584555555555500FF10010560FF12
0800000002xxxxxxxxxx
xxxxxxxxxx = 5555555555 = "UUUUU"
--------------------------------------
Read rechargeable battery availability
--------------------------------------
v
0A000000000100FF0AFF1360
0400000002xx
xx = SW1 xx = 00 not active, xx = 01 active
--------------------------------------
Check for mode2
--------------------------------------
Initiate mode2:
v
09000000000000FF0AFF14
0300000002
Poll mode2 status:
v
0A000000000100FF0AFF1560
0400000002xx
xx = Mode2 status xx = 00 success, xx = 01 in progress, xx = 02 error
Close mode2:
v
09000000000000FF0AFF16
0300000002
--------------------------------------
RAM Check poll
--------------------------------------
Poll RAM check:
v
0A000000000100FF0AFF1760
0400000002xx
xx = RAM check xx = 00 OK, xx = 02 FAIL
****************************************************************
**** OTHER FUNCTIONS WITH NORMAL BYTE CODES ********************
****************************************************************
--------------------------------------
Read UI Button status
--------------------------------------
v
1D000000000600830901608309026183090362830904638309056483090665
0900000002uueeddrrllbb
uu = up uu = 00 not active, uu = 01 active
ee = enter ee = 00 not active, ee = 01 active
dd = down dd = 00 not active, dd = 01 active
rr = right rr = 00 not active, rr = 01 active
ll = left ll = 00 not active, ll = 01 active
bb = back bb = 00 not active, bb = 01 active
--------------------------------------
Tone 1 KHz, forever
--------------------------------------
v
0D0000000000009401816482E80300
0300000002
--------------------------------------
Stop Sound output
--------------------------------------
v
070000000000009400
0300000002
--------------------------------------
Show Chess pattern 1 (start with black)
--------------------------------------
v
160000000000008412008413000000841382550000008400
0300000002
--------------------------------------
Show Chess pattern 1 (start with white)
--------------------------------------
v
160000000000008412008413000000841382AA0000008400
0300000002
--------------------------------------
Clear display again
--------------------------------------
v
0C00000000000084130000008400
0300000002
--------------------------------------
Check for SD card
--------------------------------------
v
0A000000000900811E686064
0C00000002ttttttttffffffffpp
tttttttt = total size
ffffffff = free space
pp = present [00 = no, 01 = yes]
--------------------------------------
Bluetooth on and visible
--------------------------------------
v
13000000000000D4010201D00200D4020201D00200
0300000002
--------------------------------------
Bluetooth off
--------------------------------------
v
0C000000000000D4010200D00200
0300000002
*