CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

button with timer

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
roby
Guest







button with timer
PostPosted: Thu Feb 22, 2007 8:16 am     Reply with quote

Is there an example of a software that reads a button pressed and uses a timer to measure how it remains pressed?

Thank you
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu Feb 22, 2007 10:51 am     Reply with quote

PICC Manual, chapter 'Example Programs' has a description of all the example programs supplied with the compiler.

Quote:
EX_CCPMP.C
Uses the PIC CCP module to measure a pulse width

EX_REACT.C
Times the reaction time of a relay closing using the CCP module

EX_STWT.C
A stop Watch program that shows how to user a timer interrupt
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group