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 support@ccsinfo.com

how to catch time reading using PIC16F877a?

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



Joined: 15 Feb 2009
Posts: 2

View user's profile Send private message Send e-mail Yahoo Messenger

how to catch time reading using PIC16F877a?
PostPosted: Thu Apr 02, 2009 10:46 pm     Reply with quote

Hi... I would like to ask how to write source code which can catch time object pass my sensor. I got IR sensor which will detect any motion whose pass the transmitter and receiver. When object pass the sensor, it will send 0 to the input port (port A). The main purpose is I want to catch the time object go thorugh the sensor and the time the object leave the sensor. This time's reading later will be sent through DB9 and the reading will display in VB6. On the VB6 interface, each time I click on the button 'get reading' it will display time object go through and object pass the sensor. I'm using the PIC16f877a. Anybody can help me?
Plz....
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Apr 02, 2009 11:26 pm     Reply with quote

These CCS example files are related to your problem:
Quote:

c:\program files\picc\examples\ex_speed.c

c:\program files\picc\examples\ex_stwt.c
c:\program files\picc\examples\ex_stwt2.c
c:\program files\picc\examples\ex_react.c
c:\program files\picc\examples\ex_pulse.c
c:\program files\picc\examples\ex_ccpmp.c
cik_sha



Joined: 15 Feb 2009
Posts: 2

View user's profile Send private message Send e-mail Yahoo Messenger

PostPosted: Fri Apr 03, 2009 7:05 am     Reply with quote

thank you. i'll goin to review this example. If anything wrong i'll ask u later.
Laughing
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