Skip to content

Commit 10e80f5

Browse files
authored
Update README.md
1 parent 674dad1 commit 10e80f5

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1-
# Software_PWM_Generator
2-
This implementation is useful in cases where dedicated PWM hardware is unavailable.
1+
### Overview
2+
The Software_PWM_Generator project is designed to generate PWM signals with varying duty cycles using a software approach on the PIC18F452 microcontroller.
3+
The program utilizes Timer0 for precise timing and an external interrupt to cycle through different duty cycles.
4+
This is particularly useful for applications where hardware PWM modules are either unavailable or insufficient.
5+
6+
### Features
7+
Generates PWM signals with the following duty cycles: 5%, 25%, 50%, 75%, and 90%.
8+
Allows dynamic switching between duty cycles using an external button.
9+
Uses Timer0 for precise control over the PWM signal.
10+
Employs an external interrupt (INT0) to trigger duty cycle changes.
11+
12+
13+
Tested and verified using proteus simulation and gives same result as pwm hardware generator.

0 commit comments

Comments
 (0)