Pattern Led PROBLEMS

Can’t see much of your wiring, but red LED connects from signal pin to V+, so it will be on when signal pin is off. You either need to wire the LEDs to ground, or rewrite your code to use LUM of 1 to turn off LEDs (which won’t be easy using tri-wave node). Move the resister from + bar to - bar and flip the LED and current code should work.