Intel 8XC196MC User Manual page 192

Table of Contents

Advertisement

V
CC
8XC196
Device
P7.7
Figure 8-4. Infrared Remote Control Application Block Diagram
This program example was designed to run on an 8XC196MD demo board. It uses an EPA timer
(timer 1) and compare channel (COMP3) to provide the timebase for the ones and zeros.
$debug
$nolist
$include (c:\ecm\196mc\mc.inc)
$list
;
;***************************************
; PROGRAM FREQ.A96
;
; This program transmits a block of data serially
; by gating the frequency generator on and off.
;
; The carrier frequency is programmed for 40 kHz.
; Ones are represented by a long (2 ms) carrier burst
; followed by a long (2 ms) pause (no carrier).
; Zeros are represented by a short (1 ms) carrier burst
40 kHz
Zero = 2 ms
Figure 8-5. Data Encoding Example
Get other manuals https://www.bkmanuals.com
FREQUENCY GENERATOR
Filter and
Detector
One = 4 ms
Output Signal
A2704-02
A2703-01
8-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents