PWM Bug

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

PWM Bug

Post by STibor »

Hi,

I get compile errors.
Added to the program.
Launching the compiler...
C:\Program Files\Flowcode 6\compilers\pic\boostc\boostc_16F.exe -v -t PIC12F615 "pic12F615_pwm.c"
Launching BoostC...
..............................
Completed BoostC compilation, return = 1

C:\Program Files\Flowcode 6\compilers\pic\boostc\boostc_16F.exe reported error code 1
Attachments
pic12F615_pwm.fcfx
(4.28 KiB) Downloaded 219 times

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: PWM Bug

Post by dazz »

Hi
try the attached fcd, it compiles your chart ok but i dont have that chip to test. please note this is an unofficial fix, just drop it in your fcd folder and it will appear after starting flowcode as 12F615unoficial

Regards
Dazz
12F615unofficial.fcdx
(12.71 KiB) Downloaded 240 times
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: PWM Bug

Post by STibor »

Hi,
Thank you, it works well.
I found a small error in the PWM setting.
Period register is changed, sometimes pointing to the wrong frequency of the panel.
Added to the picture.
Attachments
period_freq.jpg
period_freq.jpg (77.73 KiB) Viewed 3127 times
pic12F615_pwm_uf.fcfx
(4.02 KiB) Downloaded 205 times

Post Reply