28129 Parallax Inc, 28129 Datasheet - Page 140

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
Modify the
Also modify the
Also modify the first line of the program for future reference, and save the modified
program as P7_1R0.bs2. Then, run the program and check the output.
The Output
Take a look at Figure 7-6; not bad!
Try setting
CLK
DataOutput
DAC:
RETURN
Display:
RETURN
n = 166
PWM 8, n, 40
DEBUG HOME, CR, "DVM Reading:
DEBUG ".", DEC2 v2, " Volts"
n
DAC
to a few different values.
subroutine from Program Listing 4.1 as follows:
Display
PIN
PIN
subroutine so that it only displays the voltage, as shown below.
1
2
", DEC1 v
Figure 7-6
Debug Output for
Program Listing 7.1

Related parts for 28129