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 trigger an input

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







how to trigger an input
PostPosted: Sun Mar 07, 2010 9:04 pm     Reply with quote

Hello,
I want to write a program where one input pin is connected to a trigger or ir door system.
As soon as the door is opened the or breaks which give a pulse to the input pin.
On detecting that it should send an output to another pin and again even if the door closes there should be no effect on the input pin.
So only one pulse should trigger this .
Pls help me how to write a program for this.

Thanks
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Mon Mar 08, 2010 7:09 am     Reply with quote

It sounds like you need a beginners book on programming microcontrollers in C. I don't have any suggestions, but a decent bookstore should have something.
_________________
The search for better is endless. Instead simply find very good and get the job done.
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