Thank you. It is work.
I don't want use word variable , because pwr is for duty of HPWM.
Thank you. It is work.
I don't want use word variable , because pwr is for duty of HPWM.
Hi, Savnlik
You just can use :
or ...Code:For I = 1 to 255 PAUSE 50 HPWM 1,I,1000 ' The reason of your loop ( BTW ...). 1000 is pwm freq. NEXT I
Code:DO I = I + 1 .... While I < 255
For limiting Numbers:
AlainCode:I = J MIN 255 ' I is the smaller ( MIN ) number between J and 255 ...
Last edited by Acetronics2; - 20th November 2009 at 10:55.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Ouch, yes of course... my mistake, sorry.I had test and not work.Because next have count 255 + 1 = 256
Bookmarks