Page 1 of 1

need help pwm

Posted: Tue Apr 02, 2013 3:34 pm
by pyrosigma
Hallo, please, i'm trying to make a pwm without the component for have special delay, but first i'm trying to use adc for change a period and display it, it's working in flowcode but no in practice, my connexions are ok but display shows always 0.00.

I read my adc as voltage and use this value for make calcul, after i want to use result into a delay (float convert to string, and string to int...).

Display print since 0V to 5V and after my calcul:
-0.00 [s] ...for 0V
-1.//[s] ...in the middle value
0.000[s] ...for 5V
and always 0.00% for PWM...and it's working in flowcode, who have an idea please?

Can anybody give a look on my programm please?
testpwm1.fcf
(9.5 KiB) Downloaded 226 times

Re: need help pwm

Posted: Tue Apr 02, 2013 4:21 pm
by Benj
Hello,

So we know which version of Flowcode your using please can you sign up for one of the forum topics by following the link in my signature.