To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 163
162  |  164
Subject: 
How to get OC2&3 to fire?
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 15 Mar 1996 02:24:58 GMT
Original-From: 
Mike Ross <mross@outlandANTISPAM.jsc.nasa.gov>
Viewed: 
1675 times
  
Hi all,

I'm trying to get OC2 & OC3 to fire by just setting the OC1 to set the
lines high while OC2 and OC3 set them low after TOC2 and TOC3 counts,
respectively, all without any interrupt code.  It is not working.  The
program is running but my output is nada.  The testdigitals() routine
shows all PA7-PA0 inputs are OK.

I set all the registers as advised in the Jones & Flynn book, but I don't
get any output on PA6 (set by OC1 and OC2) or PA7 (set by OC1 and OC3).

Anyone know of a possible omission?  I also have the 6811 pink book.

I could do it all in interrupt code, but this is supposed to be the easy
way to get two pulse-trains out at 32.768 msec intervals.

Thanks for any advice.

-mike


* Michael L. Ross/C33 | Lockheed Engineering & Sciences Co.****
* Robotics Department | 2400 Nasa Rd. 1, Houston, TX 77058*****
*(713)333-7094 voice,(713)333-6071 fax*#include <disclaimer.h>*
* Finger me for my public key.  mross@outland.jsc.nasa.gov ****
* If you weren't a socialist in your twenties, you had no heart.
* If you weren't a conservative by your thirties, you have no brain.



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR