tinkerer73
Member level 3
- Joined
- Apr 5, 2011
- Messages
- 65
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,288
- Activity points
- 1,892
Hello,
I'm trying to set up a simple program which will cycle through a set of specified time periods for a 50% duty cycle pulse. I have the calculations for the delay period, but I'm not confident on how to set up the program for accurate timing.
I have at my disposal currently PIC12F1501, PIC16F628, PIC16F1829, and PIC18F44K22 chips. I'm assuming I can do what I want with any of them, but the smallest interval I need to be able to do is a 9ms period, so 4.5ms changes (high-->low or low-->high)
I'm using XC8, but if someone can help with ASM if it's better, I am open to learning. I am pretty rough with assembly still, but I know I'll need to learn to be more proficient to write the programs I want to write.
Thanks in advance for any help that can guide me in the right direction.
I'm trying to set up a simple program which will cycle through a set of specified time periods for a 50% duty cycle pulse. I have the calculations for the delay period, but I'm not confident on how to set up the program for accurate timing.
I have at my disposal currently PIC12F1501, PIC16F628, PIC16F1829, and PIC18F44K22 chips. I'm assuming I can do what I want with any of them, but the smallest interval I need to be able to do is a 9ms period, so 4.5ms changes (high-->low or low-->high)
I'm using XC8, but if someone can help with ASM if it's better, I am open to learning. I am pretty rough with assembly still, but I know I'll need to learn to be more proficient to write the programs I want to write.
Thanks in advance for any help that can guide me in the right direction.