Appendix C: Conversion Formatters
BASIC Stamp Programming Manual 2.0c
•
www.parallaxinc.com
•
Page 341
Conversion Formatters
This appendix lists the Conversion Formatters available for the commands
SERIN, I2CIN, LCDIN, and OWIN and demonstrates, though various
input/output data examples, exactly what will be received when using
these formatters.
Decimal
Characters Received
Formatters
⊗
⊗
123
123
⊗
⊗
-123
⊗
⊗
⊗
⊗
123
⊗
⊗
12345
⊗
⊗
65536
⊗
⊗
255255
⊗
⊗
DEC
--
--
123
123
123
12345
0
58647
DEC1
--
1
1
1
1
1
6
2
DEC2
--
12
12
12
12
12
65
25
DEC3
--
123
123
123
123
123
655
255
DEC4
--
--
123
123
123
1234
6553
2552
DEC5
--
--
123
123
123
12345
0
25525
SDEC
--
--
123
-123
123
12345
0
-6889
SDEC1
--
1
1
-1
1
1
6
2
SDEC2
--
12
12
-12
12
12
65
25
SDEC3
--
123
123
-123
123
123
655
255
SDEC4
--
--
123
-123
123
1234
6553
2552
SDEC5
--
--
123
-123
123
12345
0
25525
⊗
Means any non-decimal-numeric characters such as letters, spaces, minus signs, carriage
returns, control characters, etc. (Decimal numerics are: 0,1,2,3,4,5,6,7,8 and 9).
-- Means no valid data (or not enough valid data) was received so the SERIN command will
halt forever (unless the Timeout argument is used).
Hexadecimal
Characters Received
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
SHEX4
--
--
1F
-1F
1F
15AF
1000
3E51
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).
-- Means no valid data (or not enough valid data) was received so the SERIN command will
halt forever (unless the Timeout argument is used).
Содержание BASIC Stamp 2e
Страница 1: ...BASIC Stamp Programming Manual Version 2 0c...
Страница 30: ...Introduction to the BASIC Stamps Page 28 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 34: ...Quick Start Guide Page 32 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 90: ...BUTTON BASIC Stamp Command Reference Page 88 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 118: ...END BASIC Stamp Command Reference Page 116 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 128: ...FREQOUT BASIC Stamp Command Reference Page 126 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 196: ...NAP BASIC Stamp Command Reference Page 194 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 206: ...OWIN BASIC Stamp Command Reference Page 204 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 214: ...OWOUT BASIC Stamp Command Reference Page 212 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 216: ...PAUSE BASIC Stamp Command Reference Page 214 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 226: ...POLLMODE BASIC Stamp Command Reference Page 224 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 232: ...POLLOUT BASIC Stamp Command Reference Page 230 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 236: ...POLLRUN BASIC Stamp Command Reference Page 234 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 240: ...POLLWAIT BASIC Stamp Command Reference Page 238 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 262: ...RCTIME BASIC Stamp Command Reference Page 260 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 274: ...RUN BASIC Stamp Command Reference Page 272 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 310: ...SEROUT BASIC Stamp Command Reference Page 308 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 324: ...STOP BASIC Stamp Command Reference Page 322 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 340: ...ASCII Chart Page 338 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 342: ...Reserved Words Page 340 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 346: ...Conversion Formatters Page 344 BASIC Stamp Programming Manual 2 0b www parallaxinc com...