|
|
View previous topic :: View next topic |
Author |
Message |
ycho87
Joined: 11 Mar 2011 Posts: 7
|
Need help in programming |
Posted: Fri Mar 11, 2011 7:45 am |
|
|
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
|
|
Posted: Fri Mar 11, 2011 11:53 am |
|
|
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 |
|
|
|
|
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
|