28129 Parallax Inc, 28129 Datasheet - Page 88

TEXT BASIC ANALOG & DIGITAL

28129

Manufacturer Part Number
28129
Description
TEXT BASIC ANALOG & DIGITAL
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28129

Style
Book
Title
Basic Analog and Digital
Contents
Basic Analog and Digital Text
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
Here is how to count from 0 to 15 using a nibble:
When nibble b is selected using
corresponding to a data direction as shown below:
Bit in nibble B
I/O pin
If we used the command “
like this:
Bit value
I/O pin
0 = 0000
1 = 0001
2 = 0010
3 = 0011
P7
P7
3
0
P6
P6
2
1
DIRB = 4
4 = 0100
5 = 0101
6 = 0110
7 = 0111
P5
P5
DIRB
1
0
, each bit in the number
” the following direction register bits would be set
P4
P4
0
0
10 = 1010
11 = 1011
8 = 1000
9 = 1001
DIRB
is set equal to a value
Figure 4-5
Debug Terminal
Output for Program
Listing 4.1, Revision
2.
12 = 1100
13 = 1101
14 = 1110
15 = 1111

Related parts for 28129