import RPi.GPIO as GPIO
import time
from pixels import pixels

BUTTON = 17

GPIO.setmode(GPIO.BCM)
GPIO.setup(BUTTON, GPIO.IN)

while True:
    state = GPIO.input(BUTTON)
    if state:
        print("off")
        pixels.off()
    else:
        print("on")
        pixels.wakeup()
    time.sleep(1)

5cdb572aabc7bbfa8363cb1a39b2dcf341a577dd
<mask token>

<mask token>
GPIO.setmode(GPIO.BCM)
GPIO.setup(BUTTON, GPIO.IN)
while True:
    state = GPIO.input(BUTTON)
    if state:
        print('off')
        pixels.off()
    else:
        print('on')
        pixels.wakeup()
    time.sleep(1)

<mask token>
BUTTON = 17
GPIO.setmode(GPIO.BCM)
GPIO.setup(BUTTON, GPIO.IN)
while True:
    state = GPIO.input(BUTTON)
    if state:
        print('off')
        pixels.off()
    else:
        print('on')
        pixels.wakeup()
    time.sleep(1)

import RPi.GPIO as GPIO
import time
from pixels import pixels
BUTTON = 17
GPIO.setmode(GPIO.BCM)
GPIO.setup(BUTTON, GPIO.IN)
while True:
    state = GPIO.input(BUTTON)
    if state:
        print('off')
        pixels.off()
    else:
        print('on')
        pixels.wakeup()
    time.sleep(1)

import RPi.GPIO as GPIO
import time
from pixels import pixels

BUTTON = 17

GPIO.setmode(GPIO.BCM)
GPIO.setup(BUTTON, GPIO.IN)

while True:
    state = GPIO.input(BUTTON)
    if state:
        print("off")
        pixels.off()
    else:
        print("on")
        pixels.wakeup()
    time.sleep(1)
