As brood discussed above . I had test this code, it is working fine. only thing is if any one in the following variable is equal to zero. the output is goes to maximum width.
red_duty = __;
green_duty = __;
blue_duty = __;
I need if these variables are equal to zero, the output will go to zero. How can i make it to Zero , pls give the note.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Thu Jun 02, 2011 2:35 pm
I modified his code a little bit and it works better now. Here is the revised program:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum