Hey all, I'm at the stage in my project where im going to write and test my program. I've been reading through a pic book i was given by a teacher at school and i've been taking on board lots of the basics. I need a bit of help though, as im completely new to pic programming. I've downloaded some software for programming the pics. Called winpicprog, and the teacher at school should be able to get the programmer and cable nessacary to plug it into a computer to burn the chip. The next step for me is to choose the right pic to use. I know what i want my pic to do, i shall explain:
1) For half a second count the number of pulses on an input pin.
2) Move the total amount of pulses to the output pins as a 4bit binary number.
*Edit Because i only want to use a 4 bit count, i will also need the counter to latch when it reaches 16 pulses. Do i need to use an interupt?
The output will then go into a suming amplifier, and then a LED bar graph display.
Thats it i think, I'm not to sure what programming language it is i have been learning, but this is an example:
bsf porta, 0; Turns on output pin.
I'm dead in the water without your help people.
*Edit I need one input and 4 outputs.
Thanks in advance...
1) For half a second count the number of pulses on an input pin.
2) Move the total amount of pulses to the output pins as a 4bit binary number.
*Edit Because i only want to use a 4 bit count, i will also need the counter to latch when it reaches 16 pulses. Do i need to use an interupt?
The output will then go into a suming amplifier, and then a LED bar graph display.
Thats it i think, I'm not to sure what programming language it is i have been learning, but this is an example:
bsf porta, 0; Turns on output pin.
I'm dead in the water without your help people.
*Edit I need one input and 4 outputs.
Thanks in advance...