Author |
Message |
Topic: Help with PWM on PIC16F876 or 16F877 |
CheAhMeD
Replies: 6
Views: 15284
|
Forum: General CCS C Discussion Posted: Tue Apr 12, 2011 9:03 am Subject: Help with PWM on PIC16F876 or 16F877 |
Does the PIC do anything ? Have you ever made it blink an LED ?
If you have no PWM signal, it could be because:
1. You have the LVP fuse enabled while not needing it, and pin B3 is
not connec ... |
Topic: Help with PWM on PIC16F876 or 16F877 |
CheAhMeD
Replies: 6
Views: 15284
|
Forum: General CCS C Discussion Posted: Mon Apr 11, 2011 6:33 am Subject: Help with PWM on PIC16F876 or 16F877 |
Have you got pullup resistors on your pushbuttons? And why not use Port B, which has internal ones?
Yes I did put resistors on both push buttons and the port B is for the LCD |
Topic: Help with PWM on PIC16F876 or 16F877 |
CheAhMeD
Replies: 6
Views: 15284
|
Forum: General CCS C Discussion Posted: Mon Apr 11, 2011 6:32 am Subject: Help with PWM on PIC16F876 or 16F877 |
If something doesn't work, make a very simple test program that tests
only one thing. See if it works. For example, here is a program to
test PWM on the CCP1 pin. Test it, exactly as shown, wi ... |
Topic: Help with PWM on PIC16F876 or 16F877 |
CheAhMeD
Replies: 6
Views: 15284
|
Forum: General CCS C Discussion Posted: Sun Apr 10, 2011 7:59 pm Subject: Help with PWM on PIC16F876 or 16F877 |
Hello,
I doing a project to control the speed of a powrful DC Motor
I'm using 2 push buttons and PWM from a 16F877 to adjust the speed
I wrot the following program and compile it but I didn't ... |
|