Here is an idea.

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