BASIC stamp manual v2.2
Conversion Formatters
Page 478 • BASIC Stamp Syntax and Reference Manual 2.2 • www.parallax.com
Characters Received Hexadecimal
Formatters
⊗
1F
1F⊗ -1F⊗ ⊗1F⊗ 15AF⊗ 10000⊗ 3E517⊗
HEX
-- -- 1F 1F 1F 15AF 0 E517
HEX1
-- 1 1 1 1 1 1 3
HEX2
-- 1F 1F 1F 1F 15 10 3E
HEX3
-- -- 1F 1F 1F 15A 100 3E5
HEX4
-- -- 1F 1F 1F 15AF 1000 3E51
SHEX
-- -- 1F -1F 1F 15AF 0 -1AE9
SHEX1
-- 1 1 -1 1 1 1 3
SHEX2
-- 1F 1F -1F 1F 15 10 3E
SHEX3
-- -- 1F -1F 1F 15A 100 3E5
Table C.2: Hexadecimal
Formatters.
NOTE: The HEX formatters are not case sensitive. For example, 1F is the same as 1f.
⊗ Means any non-hexadecimal-numeric characters such as letters (greater than F), spaces,
minus signs, carriage returns, control characters, etc. (Hexadecimal numerics are:
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).
Characters Received Additional
Hexadecimal
Formatters
⊗
1F
1F⊗
$1F
$1F⊗ -$1F⊗ ⊗$1F⊗ $15AF⊗
IHEX
-- -- -- -- 1F 1F 1F 15AF
IHEX1
-- -- -- 1 1 1 1 1
IHEX2
-- -- -- 1F 1F 1F 1F 15
IHEX3
-- -- -- -- 1F 1F 1F 15A
IHEX4
-- -- -- -- 1F 1F 1F 15AF
ISHEX
-- -- -- -- 1F -1F 1F 15AF
ISHEX1
-- -- -- 1 1 -1 1 1
ISHEX2
-- -- -- 1F 1F -1F 1F 15
ISHEX3
-- -- -- -- 1F -1F 1F 15A
ISHEX4
-- -- -- -- 1F -1F 1F 15AF
Table C.3: Additional Hexadecimal
Formatters.
NOTE: The HEX formatters are not case sensitive. For example, 1F is the same as 1f.
⊗ Means any non-hexadecimal-numeric characters such as letters (greater than F), spaces,
minus signs, carriage returns, control characters, etc. (Hexadecimal numerics are:
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).
Characters Received Binary
Formatters
⊗
11
11⊗ -11⊗ ⊗11⊗ 101⊗ 3E517⊗
BIN
-- -- 11 11 11 101 1
BIN1
-- 1 1 1 1 1 1
BIN2
-- 11 11 11 11 10 1
BIN3 – BIN16
-- -- 11 11 11 101 1
SBIN
-- -- 11 -11 11 101 1
SBIN1
-- 1 1 -1 1 1 1
SBIN2
-- 11 11 -11 11 10 1
Table C.4: Binary Formatters.
⊗ Means any non-binary-numeric characters such as letters, spaces, minus signs, carriage
returns, control characters, etc. (Binary numerics are: 0 and 1).