28129 Parallax Inc, 28129 Datasheet - Page 89
![TEXT BASIC ANALOG & DIGITAL](/photos/6/49/64954/mfg_28129_sml.jpg)
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: 89 of 176
- Download datasheet (3Mb)
This would result in I/O pin P6 being set as an output, and all the other pins (P0, P1, P3)
set as inputs. Hence the command
“1”) sets up each of the I/O lines as outputs.
Sweeping the value of
A truly powerful aspect of using this method of addressing is that we can use PBASIC to
count up and down or access values from a look up table to automatically address the I/O
pins. The result is that we can program the BASIC Stamp to more effectively control the
D/A converter output.
Modify the code labeled
DEBUG CLS
Modify the main subroutine as shown:
Delete the line that sets the value of
look like this:
Also modify the
'Start display
DEBUG CLS, "DAC Nibble Values", CR
DEBUG "Decimal
' -----[ Main Routine ]--------------------------------------
FOR n = 0 TO 15
NEXT
STOP
DAC:
RETURN
Display:
RETURN
GOSUB DAC
GOSUB ADC_Data
GOSUB Calc_Volts
GOSUB Display
DIRB = 15
OUTB = n
DEBUG DEC2 n, "
DEBUG DEC1 v, ".", DEC2 v2, " Volts", CR
command, and then add a second line as shown.
Display
n
from 0 to 15 should result in the same values as before.
subroutine as shown.
'Start Display
Binary DVM", CR
", BIN4 n, " "
DIRB=15
n
in the
(by virtue of the fact that all four bits are a
in Program Listing 4.1. First, modify the
DAC
'
subroutine. Once that's done it should
'
'
'
Related parts for 28129
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![27404](/photos/26/91/269197/27404-l_tmb.jpg)
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
![70016](/photos/8/99/89966/mfg_70016_tmb.jpg)
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![28023](/photos/9/30/93020/mfg_28023_tmb.jpg)
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
![30010](/photos/9/30/93025/mfg_30010_tmb.jpg)
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
![SX18AC/SO](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: