Author |
Message |
Topic: PIC16F877: PWM with less than 250Hz possible? |
doke
Replies: 18
Views: 31919
|
Forum: General CCS C Discussion Posted: Thu Feb 19, 2009 12:43 pm Subject: PIC16F877: PWM with less than 250Hz possible? |
Thanks again very much for the answer!
I tried the code again and it works fine, however I'm not yet satisfied with the resolution of the PWM signal. With a 10 KHz interrupt rate and a 50 Hz period ... |
Topic: PIC16F877: PWM with less than 250Hz possible? |
doke
Replies: 18
Views: 31919
|
Forum: General CCS C Discussion Posted: Tue Feb 17, 2009 10:59 am Subject: PIC16F877: PWM with less than 250Hz possible? |
Thank you very much for you answer PCM programmer!
I tried the long_delay_us function and it works really fine! However, if I'll be able get the soft PWM running, I can write a program without the ... |
Topic: PIC16F877: PWM with less than 250Hz possible? |
doke
Replies: 18
Views: 31919
|
Forum: General CCS C Discussion Posted: Sun Feb 15, 2009 12:21 pm Subject: PIC16F877: PWM with less than 250Hz possible? |
Hello,
I use an PIC16F877 @ 4 MHz and want to control two servo motors with it. I'm afraid I can't use the PWM module at less than ca. 250 Hz (244.14 Hz when PR2=0b11111111)
However, I need a PWM ... |
Topic: Problems with two PWMs @ PIC16F877 |
doke
Replies: 5
Views: 4397
|
Forum: General CCS C Discussion Posted: Sun Feb 15, 2009 12:18 pm Subject: Problems with two PWMs @ PIC16F877 |
I'm afraid, the PIC is dead. I try to get another one, maybe then it works... |
Topic: Problems with two PWMs @ PIC16F877 |
doke
Replies: 5
Views: 4397
|
Forum: General CCS C Discussion Posted: Tue Feb 10, 2009 11:04 am Subject: Problems with two PWMs @ PIC16F877 |
Thank you for your answer Ttelmah.
It tried the following code and only the LED at the RC2/CCP1 pin was blinking, no signal at RC1/T1OSI/CCP2
#include <16F877.h>
#fuses XT,NOWDT,N ... |
Topic: Problems with two PWMs @ PIC16F877 |
doke
Replies: 5
Views: 4397
|
Forum: General CCS C Discussion Posted: Mon Feb 09, 2009 9:43 am Subject: Problems with two PWMs @ PIC16F877 |
Hello everybody!
I'm new here and this is my first problem:
I want to generate two PWM signals with my PIC16F877. Therefore I use the following code. To check the PWM signals (CCP1 and CCP2) I hav ... |
|