Page 1 of 1

PWM Icon red not yellow

Posted: Tue Oct 06, 2020 10:46 am
by beneee
Hi All,

I have a simple program which I could not get to run on the chip, simulation was fine, I re-wrote it again with identical settings and it worked, what did I do wrong in the non-working one (Nwork) and why was the PWM image red instead of yellow?

Thanks
Ben
nwork.PNG
nwork.PNG (117.42 KiB) Viewed 1594 times
NWork.fcfx
(8.7 KiB) Downloaded 174 times
YWork.fcfx
(8.75 KiB) Downloaded 169 times

Re: PWM Icon red not yellow

Posted: Tue Oct 06, 2020 12:06 pm
by Benj
Hello,

The difference is the configuration settings in the project options. YWorks is set to use the INTOSC and NWorks is set to use an external clock.

I would also disable the watchdog timer and Low Voltage Programming options.

Re: PWM Icon red not yellow

Posted: Tue Oct 06, 2020 1:10 pm
by beneee
Ahh, awesome, great work - thanks Benj

Ben