Save registers r4 to r11 in led_pattern
Fix led_status
led_pattern: don't set the pin if the led is already in the right state