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

Need help in programming

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



Joined: 11 Mar 2011
Posts: 7

View user's profile Send private message

Need help in programming
PostPosted: Fri Mar 11, 2011 7:45 am     Reply with quote

Hi all,

Basically I will connect a missing pulse detector to a pic16f877a.
The output of the Missing pulse detector is a logic signal, it's either high or low. The output will be always in high and will be change to low if the pulse is missing and will change back to high after a period.

I want to write a programming like this:
When the output change to low, LCD will display 1
and add 1 every time the output change to low.

Can somebody tell me how to start and a reference will be good too.

Thanks and sorry for the poor language.
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Fri Mar 11, 2011 11:53 am     Reply with quote

Hi,

There are literally thousands of posts on the forum to help you get started. The first step is to do something very simple like blink an LED. This will prove that your hardware is OK, and that you can program your PIC. After that, you should try to write characters to an LCD module. I recommend that you use the 'Flex_LCD' driver for this purpose because it's very easy to configure. Once you can do that, connect a pushbutton to your PIC and see what it takes to read a digital input. Once you can do all that, you will a long way toward your final goal. The bottom line, however, is that you've got to do it yourself - no one is going to just do it for you. Once you show that you've taken these preliminary steps, you will find lots of people eager to help you out!

John
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