Here is an idea.
In this block:
Turn the hardware PWM off. Turn it on after the correct serial command is received.Code:loop: RSIn Wait("SLAVE"), value If value = 0 Then GoTo loop Else GoSub charin ' Get a character from serial input, if any EndIf
Or make all of the LED pins LOW in the above.
Bookmarks