I'm new to this forum so hello to everyone.
How I got here:
I am working on PIC16F84A to generate a PWM signal where gradually increases and decreases the brightens of an LED in assembly ( maybe C if too hard) depending on 3 DIP switch input
1. I am having a hard time grasping the idea around timer, prescaler and interrupt. Reading I think I have to implement this in the code to get the desired result. Not sure how...
2. Do I have to use an outside oscillator or use the RC method only?
3. I have created where I can use the switch to turn on and of.. ( that is as far I have gotten)
I would like some help in pointing me in the right direction.
Thank you for your help in advance
How I got here:
I am working on PIC16F84A to generate a PWM signal where gradually increases and decreases the brightens of an LED in assembly ( maybe C if too hard) depending on 3 DIP switch input
1. I am having a hard time grasping the idea around timer, prescaler and interrupt. Reading I think I have to implement this in the code to get the desired result. Not sure how...
2. Do I have to use an outside oscillator or use the RC method only?
3. I have created where I can use the switch to turn on and of.. ( that is as far I have gotten)
I would like some help in pointing me in the right direction.
Thank you for your help in advance