Go to Post Big scoop for everyone here: All divisions are stacked with talented teams. It's like this is a really big event or something. - PayneTrain [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 11-02-2006, 11:59
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Using CCP modules

I'm trying to count a fast-moving encoder, and instead of having thousands of interrupts firing every second I thought it would be a good idea to use the CCP modules in Capture mode to count the number of ticks. However, ifi_aliases.h says that CCP2-5 all have output buffers on them that prevent them from being used in Capture mode, even if you select USER_CCP in the code. Is it true that there is _no_ way to do this? If not, what happened to CCP1? I couldn't find it mentioned anywhere in the documentations, and cross-referencing from the PIC datasheet to the RC docs didn't turn up anything. Anyone know if CCP1 is available for use?
Thanks,
Steven
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about kevin's code ImmortalAres Programming 3 23-06-2005 11:13
Vishay IR Reciever modules EIROBOTICS86 Electrical 4 04-02-2004 00:18
Calling all PHP/ASP programmers! blueWarrior FIRST-related Organizations 15 27-01-2004 13:24
The Lowerr LEGO Swerve rlowerr_1 Robot Showcase 4 21-12-2003 23:41
Pre-Season Kit Learning Modules kmcclary Robotics Education and Curriculum 10 21-11-2002 11:37


All times are GMT -5. The time now is 20:58.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi