28029 Parallax Inc, 28029 Datasheet - Page 330
28029
Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet
1.122-28029.pdf
(340 pages)
Specifications of 28029
Accessory Type
Parts Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® or Javelin Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Other names
28029PAR
- Current page: 330 of 340
- Download datasheet (5Mb)
Page 318 · Smart Sensors and Applications
Table 7-1 counts to 15 in decimal, hexadecimal, and binary. In terms of converting from
hexadecimal to binary and back, this table is all you'll need. Reason being, each single
hexadecimal digit corresponds to a group of four binary digits.
Example: Convert $8FE6 to binary.
Solution: Each hexadecimal digit converts to a group of four binary numbers, so the
binary value can be written with the help of Table 7-1 like this:
Example: Convert %1100011000001001 to hexadecimal.
Solution: Arrange the binary number into groups of four digits, then use Table 7-1:
Example Program: ConvertBinaryToHexadecimal.bs2
Of course, you can also make the BASIC Stamp do it for you. Simply use the % operator
to define the binary number, and then use the
display the value.
' Smart Sensors and Applications - ConvertBinaryToHexadecimal.bs2
' {$STAMP BS2}
Base
Base
Base
10
16
Hexadecimal
Binary
$8FE6 = %1000111111100110
Binary
Hexadecimal
%1100011000001001 = $C609
2
√
Try it and see if the LCD agrees with our calculations
00
00
0
0
00
01
1
1
1000 1111 1110 0110
1100 0110 0000 1001
Table 7-1:
00
10
2
2
8
C
00
11
3
3
6
F
01
00
4
4
Decimal, Hexadecimal and Binary values
01
01
5
5
E
0
01
10
6
6
6
9
01
11
7
7
HEX
10
00
8
8
formatter in a
10
01
9
9
10
10
10
A
11
10
11
B
SEROUT
12
11
00
C
13
11
01
command to
D
14
11
10
E
15
11
11
F
Related parts for 28029
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: