Hello,
Do I use a PIC16F628 and do I want to count 15 pulses in RB0 and once finished the PORTB7 on can give me a guide of as making it?.
Thank you
Hello,
Do I use a PIC16F628 and do I want to count 15 pulses in RB0 and once finished the PORTB7 on can give me a guide of as making it?.
Thank you
Hola Leo, yes you can use a 16f628 to do that. Let me get this straight, do you want to flash RB0 fifteen times and then on the 15th, RB7 comes on?
Juan
Last edited by Jųan; - 25th August 2005 at 01:50.
one way, use interrupt. once you're in the interrupt handler, increment a variable. once it reach 15, set a flag to confirm that you reach 15. In the main loop, just poll the Flag.
Another way will be to use the internal counter with TIMER0 and RA4. just poll TMR0 to see if you reach 15.
OR use TIMER0 interrupt overflow
or
or
or
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hello Juan,
If that is.
You speak spanish?.
Thanks
Originally Posted by Jųan
Hello Mister And,
Thanks, you can give an example me, is that not by where to begin.
Again thanks
Originally Posted by mister_e
Hi Leo, yes I do speak spanish but I dont think it would be fair for others for us to speak it in this forum :-) Im happy to speak spanish to you via email. Seems you are learning english, keep at it!
Juan
Juan,
You can please give me an idea of the code.
Thank you
Originally Posted by Jųan
Juan,
My mail is [email protected]
Thanks
Originally Posted by Jųan
Bookmarks