Hello Unregistered ,
Originally Posted by Aussie Barry You may need to limit the decrement counter so that it never goes below 0 Code: If DutyVar3 > 0 then DutyVar3 = DutyVar3 -1 else DutyVar3 = 0 endif Cheers Barry VK2XBP Ah! You think DutyVar3 is ending with -1? I can hook up my serial LCD and see for sure, but that looks to be what's happening. Thanks Barry!
If DutyVar3 > 0 then DutyVar3 = DutyVar3 -1 else DutyVar3 = 0 endif
Forum Rules
Bookmarks