Trying to control servo from multiple patches in a state machine was not working with standard servo. This was my solution to fix the problem.
servo-enable: Standard servo node with Enable pin added. Detach servo when En is false and allow to free-wheel (or allow other node to control the servo).
servo-pulse: Merge servo and delay nodes to activate servo just long enough to move to new position based on previous position. Detach servo when timer is done.
I haven’t updated it for new data types, so you can’t use pin mnemonics. PD0 should map to a specific pin #; you should be able to use that pin #. If it is pin 0 and that is also one of the tx/rx pins, that would explain why you need to unplug when you upload…the servo is interfering with USB transmission.