hope every one will be fine.
flowcode 6, pic161937
For simplicity and to understand duty cycle behaviour I have created very simple code.
In my code I have set max duty 4. The code works for 1,2,3 but not for max duty 4.
can't understand why and how to get max duty cycle working.
PWM max duty not working
Moderator: Benj
PWM max duty not working
- Attachments
-
- PWM_test.fcfx
- (5.41 KiB) Downloaded 292 times
-
- Clip.jpg (92.48 KiB) Viewed 7789 times
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: PWM max duty not working
Hi wahid,
If you're referring to the simulation, then it's just a bug with the graphics!
Look at the duty value, it shows 100% when set with 4.
If you're interested, you can select then you can have x4 resolution.
So 16 = 100% duty
I have move your posts to the V6 Bugs section.
Martin
If you're referring to the simulation, then it's just a bug with the graphics!
Look at the duty value, it shows 100% when set with 4.
If you're interested, you can select
Code: Select all
SetDutyCycle10Bit
So 16 = 100% duty
I have move your posts to the V6 Bugs section.
Martin
Martin