28129 Parallax Inc, 28129 Datasheet - Page 38
28129
Manufacturer Part Number
28129
Description
TEXT BASIC ANALOG & DIGITAL
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet
1.28129.pdf
(176 pages)
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
- Current page: 38 of 176
- Download datasheet (3Mb)
Here's something new. The modifier
variable
LOOP
Counting in Binary
Table 2-1 shows how to count from 0 to 3 using 2-bit binary numbers and how to count
from 0 to 7 using 3-bit binary numbers.
Note that four numbers (decimal 0 through 3) can be represented with a 2-bit binary
number. Eight numbers (0 through 7) can be represented with a 3-bit binary number. 4-
bits can describe 16 different numbers, 5-bits can describe 32 different numbers and so
on.
You can always determine how many counting numbers (combinations of 0s and 1s) can
come from a given number of bits by using this formula:
This means the number of combinations equals two raised to the power of the number of
bits. For 2-bits, the number of combinations is 2
combinations is 2
command.
LOOP
d.
DEBUG "Decimal equivalent: ", DEC1 d, CR
Decimal number
Because this is the last instruction we want to repeat, it’s followed by the
combinations = 2
3
Table 2-1:Measured voltages during charge cycle
= 8, and so on.
0
1
2
3
4
5
6
7
2-bit binary
representation
bits
DEC
00
01
10
11
was used to print the decimal value of the
3-bit binary
representation
2
= 4. For 3-bits, the number of
000
001
010
011
100
101
110
111
Related parts for 28129
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: