How do I program my PIC18f452 to control the speed of a DC motor. I just need a simple circuit and solution. Please forgive me I am very bad at writing code.
Rajsekhar thank you for your help.. Actually my entire project is to control the speed of a DC motor using PWM on the 18F452. The speed will depend on the reflection of light on the surface of a chip. This is to help with the fabrication process. I am still doing my degree and this is something new to me... I would appreciate it if you have any sample codes for me to begin with because currently i am dumbstruck and unable to start.