Author |
Message |
Topic: square wave code |
malaika7
Replies: 5
Views: 8293
|
Forum: General CCS C Discussion Posted: Sun Jan 22, 2012 11:06 am Subject: square wave code |
I think I understand this one . The duty 308L however bits me. I thought duty would be between 1 and (154+1)*4. I know L stands for 'long' but what does it mean here? Does the 50Hz translate onto my ... |
Topic: square wave code |
malaika7
Replies: 5
Views: 8293
|
Forum: General CCS C Discussion Posted: Sun Jan 22, 2012 6:24 am Subject: square wave code |
Thank you for your response but I'm sorry I don't understand. I'm only beginning playing with these things. I have setup PWM and yet you say I'm not using it. I have tried a count of 154 but no luck. ... |
Topic: square wave code |
malaika7
Replies: 5
Views: 8293
|
Forum: General CCS C Discussion Posted: Sun Jan 22, 2012 3:21 am Subject: square wave code |
Hi everyone. I am learning Pic and C programming. I'm trying to generate a squarewave (ac) output of period 20ms using full bridge pwm. However, I'm getting a square wave sometimes and then at times ... |
|