Author |
Message |
Topic: Problem to control a PWM signal ! |
bimo
Replies: 11
Views: 15735
|
Forum: General CCS C Discussion Posted: Fri Dec 30, 2011 7:16 pm Subject: Problem to control a PWM signal ! |
Before going to sleep i wanted to share this with you.
Finally i could make work, and you were right the problem came from my compiler i this it's buggy. Even after a reinstall the problem was the s ... |
Topic: Problem to control a PWM signal ! |
bimo
Replies: 11
Views: 15735
|
Forum: General CCS C Discussion Posted: Fri Dec 30, 2011 10:03 am Subject: Problem to control a PWM signal ! |
Here.... I took the snippet above and compile it and it produced this LST file:
CCS PCM C Compiler, Version 3.200, 16465
Filename: C:\Users\PC\Desktop\test pic\test.LST
... |
Topic: Problem to control a PWM signal ! |
bimo
Replies: 11
Views: 15735
|
Forum: General CCS C Discussion Posted: Fri Dec 30, 2011 4:41 am Subject: Problem to control a PWM signal ! |
Well suspected that too but know that my PIC works fine
and this is my first test with the PWM modules but not the PICs ever.
I did many mini projects with 16f84 / 16f876 / 16f877.
This time my pro ... |
Topic: Problem to control a PWM signal ! |
bimo
Replies: 11
Views: 15735
|
Forum: General CCS C Discussion Posted: Thu Dec 29, 2011 4:36 pm Subject: Problem to control a PWM signal ! |
I wrote exactly your snippet and nothing else.
Well...in the first start up i got a square signal of 19.53 KHz 50 % duty cycle.
But when i restarted my PIC again a got the same signal frequency but ... |
Topic: Problem to control a PWM signal ! |
bimo
Replies: 11
Views: 15735
|
Forum: General CCS C Discussion Posted: Thu Dec 29, 2011 3:35 pm Subject: Problem to control a PWM signal ! |
thanks Asmboy for your answer
i was sure somebody would say that
well, know that i already cheked all theses theorys...otherwise even this code shoud make the signal to change :
while(1)
{
... |
Topic: Problem to control a PWM signal ! |
bimo
Replies: 11
Views: 15735
|
Forum: General CCS C Discussion Posted: Thu Dec 29, 2011 2:40 pm Subject: Problem to control a PWM signal ! |
Greetings !
It's my first message in this forum and hope it won't be the last.
Well I have a little problem and I guess I can't find a best place than in here to expose it .
Can someone give a loo ... |
|