70009 Parallax Inc, 70009 Datasheet - Page 102

BOOK UNDERSTANDING SIGNALS

70009

Manufacturer Part Number
70009
Description
BOOK UNDERSTANDING SIGNALS
Manufacturer
Parallax Inc
Type
Signal Analysisr
Datasheet

Specifications of 70009

Style
Book
Title
Understanding Signals
Contents
Guide to Generate, View and Measure Wave Forms
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
70009PAR

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
700090B
Quantity:
5 510
Part Number:
700090B
Manufacturer:
COPAL
Quantity:
5 510
Part Number:
70009AB 7256
Manufacturer:
ST
0
Part Number:
70009CB
Quantity:
5 510
Part Number:
70009CB
Manufacturer:
VISHAY
Quantity:
5 510
Part Number:
70009GB
Manufacturer:
TI/PHILIPS
Quantity:
20 000
' -----[ Subroutine - Process IR Pulses ]----------------------------------
Process_IR_Pulses:
' -----[ Subroutine - Display IR Pulse Values ]----------------------------
Display_IR_Pulse_Values:
' -----[ Subroutine - Convert to Binary Number Display ]-------------------
Convert_to_Binary_Number_Display:
NEXT
RETURN
DO
LOOP UNTIL (IR_pulse(0) > 1400) AND (IR_pulse(0) <> 0)
' The BASIC Stamp 2p and 2SX modules are fast enough to load these
' values using a FOR...NEXT loop, but all other modules should load the
' pulse values as a sequence of PULSIN Commands.
PULSIN IR_detect,active_low,IR_pulse(0)
PULSIN IR_detect,active_low,IR_pulse(1)
PULSIN IR_detect,active_low,IR_pulse(2)
PULSIN IR_detect,active_low,IR_pulse(3)
PULSIN IR_detect,active_low,IR_pulse(4)
PULSIN IR_detect,active_low,IR_pulse(5)
PULSIN IR_detect,active_low,IR_pulse(6)
PULSIN IR_detect,active_low,IR_pulse(7)
PULSIN IR_detect,active_low,IR_pulse(8)
PULSIN IR_detect,active_low,IR_pulse(9)
PULSIN IR_detect,active_low,IR_pulse(10)
PULSIN IR_detect,active_low,IR_pulse(11)
RETURN
FOR counter = 0 TO 10
NEXT
RETURN
ENDIF
PULSIN IR_detect,active_high,IR_pulse(0)
DEBUG " ", DEC2 counter
DEBUG " = ", DEC5 IR_pulse(counter) * 2, " us "
IF IR_pulse(counter) > 450 THEN
ELSE
ENDIF
DEBUG " Binary-1", CR
DEBUG " Binary-0", CR
' pulse is detected.

Related parts for 70009