#!/usr/bin/python
# -*- coding: UTF-8 -*-

import random
import time
from rpi_ws281x import ws, Color, Adafruit_NeoPixel
import RPi.GPIO as GPIO

GPIO.cleanup() 
GPIO.setmode(GPIO.BCM)
#12\18\21 0

LED_1_PIN = 18
LED_1_COUNT = 2340
LED_1_BRIGHTNESS = 128

LED_2_PIN = 21
LED_2_COUNT = 2880
LED_2_BRIGHTNESS = 128

LED_3_PIN = 12
LED_3_COUNT = 300
LED_3_BRIGHTNESS = 128

GPIO.setup(LED_1_PIN, GPIO.OUT)
# GPIO.setup(LED_2_PIN, GPIO.OUT)
# GPIO.setup(LED_3_PIN, GPIO.OUT)

class COLOR:
	BLACK = Color(0, 0, 0)
	GREEN = Color(0, 255, 0)
	RED = Color(255, 0, 0)
	BLUE = Color(0, 0, 255)
	YELLOW = Color(255, 255, 0)
	PURPLE = Color(255, 0, 255)
	TURQUOISE = Color(0, 255, 255)

strip1 = Adafruit_NeoPixel(LED_1_COUNT, LED_1_PIN, 800000, 5, False, LED_1_BRIGHTNESS, 0, ws.WS2811_STRIP_GRB)
strip1.begin()

strip2 = Adafruit_NeoPixel(LED_2_COUNT, LED_2_PIN, 800000, 6, False, LED_2_BRIGHTNESS, 0, ws.WS2811_STRIP_GRB)
strip2.begin()

# strip3 = Adafruit_NeoPixel(LED_3_COUNT, LED_3_PIN, 800000, 7, False, LED_2_BRIGHTNESS, 0, ws.WS2811_STRIP_GRB)
# strip3.begin()


if __name__ == '__main__':
	while True:	
		for i in range(strip1.numPixels()):
			strip1.setPixelColor(i, COLOR.RED)
		strip1.show()

		for i in range(strip2.numPixels()):
			strip2.setPixelColor(i, COLOR.GREEN)
		strip2.show()

		# for i in range(strip3.numPixels()):
		# 	strip3.setPixelColor(i, COLOR.BLUE)
		# strip3.show()

		time.sleep(1)

		for i in range(strip1.numPixels()):
			strip1.setPixelColor(i, COLOR.GREEN)
		strip1.show()

		for i in range(strip2.numPixels()):
			strip2.setPixelColor(i, COLOR.BLUE)
		strip2.show()

		# for i in range(strip3.numPixels()):
		# 	strip3.setPixelColor(i, COLOR.RED)
		# strip3.show()

		time.sleep(1)

		for i in range(strip1.numPixels()):
			strip1.setPixelColor(i, COLOR.BLUE)
		strip1.show()

		for i in range(strip2.numPixels()):
			strip2.setPixelColor(i, COLOR.RED)
		strip2.show()

		# for i in range(strip3.numPixels()):
		# 	strip3.setPixelColor(i, COLOR.GREEN)
		# strip3.show()

		time.sleep(1)


21b18c0556af8bf79788fd585b1c7795356b5e49
<mask token>


class COLOR:
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


<mask token>

<mask token>
GPIO.cleanup()
GPIO.setmode(GPIO.BCM)
<mask token>
GPIO.setup(LED_1_PIN, GPIO.OUT)


class COLOR:
    BLACK = Color(0, 0, 0)
    GREEN = Color(0, 255, 0)
    RED = Color(255, 0, 0)
    BLUE = Color(0, 0, 255)
    YELLOW = Color(255, 255, 0)
    PURPLE = Color(255, 0, 255)
    TURQUOISE = Color(0, 255, 255)


<mask token>
strip1.begin()
<mask token>
strip2.begin()
if __name__ == '__main__':
    while True:
        for i in range(strip1.numPixels()):
            strip1.setPixelColor(i, COLOR.RED)
        strip1.show()
        for i in range(strip2.numPixels()):
            strip2.setPixelColor(i, COLOR.GREEN)
        strip2.show()
        time.sleep(1)
        for i in range(strip1.numPixels()):
            strip1.setPixelColor(i, COLOR.GREEN)
        strip1.show()
        for i in range(strip2.numPixels()):
            strip2.setPixelColor(i, COLOR.BLUE)
        strip2.show()
        time.sleep(1)
        for i in range(strip1.numPixels()):
            strip1.setPixelColor(i, COLOR.BLUE)
        strip1.show()
        for i in range(strip2.numPixels()):
            strip2.setPixelColor(i, COLOR.RED)
        strip2.show()
        time.sleep(1)

<mask token>
GPIO.cleanup()
GPIO.setmode(GPIO.BCM)
LED_1_PIN = 18
LED_1_COUNT = 2340
LED_1_BRIGHTNESS = 128
LED_2_PIN = 21
LED_2_COUNT = 2880
LED_2_BRIGHTNESS = 128
LED_3_PIN = 12
LED_3_COUNT = 300
LED_3_BRIGHTNESS = 128
GPIO.setup(LED_1_PIN, GPIO.OUT)


class COLOR:
    BLACK = Color(0, 0, 0)
    GREEN = Color(0, 255, 0)
    RED = Color(255, 0, 0)
    BLUE = Color(0, 0, 255)
    YELLOW = Color(255, 255, 0)
    PURPLE = Color(255, 0, 255)
    TURQUOISE = Color(0, 255, 255)


strip1 = Adafruit_NeoPixel(LED_1_COUNT, LED_1_PIN, 800000, 5, False,
    LED_1_BRIGHTNESS, 0, ws.WS2811_STRIP_GRB)
strip1.begin()
strip2 = Adafruit_NeoPixel(LED_2_COUNT, LED_2_PIN, 800000, 6, False,
    LED_2_BRIGHTNESS, 0, ws.WS2811_STRIP_GRB)
strip2.begin()
if __name__ == '__main__':
    while True:
        for i in range(strip1.numPixels()):
            strip1.setPixelColor(i, COLOR.RED)
        strip1.show()
        for i in range(strip2.numPixels()):
            strip2.setPixelColor(i, COLOR.GREEN)
        strip2.show()
        time.sleep(1)
        for i in range(strip1.numPixels()):
            strip1.setPixelColor(i, COLOR.GREEN)
        strip1.show()
        for i in range(strip2.numPixels()):
            strip2.setPixelColor(i, COLOR.BLUE)
        strip2.show()
        time.sleep(1)
        for i in range(strip1.numPixels()):
            strip1.setPixelColor(i, COLOR.BLUE)
        strip1.show()
        for i in range(strip2.numPixels()):
            strip2.setPixelColor(i, COLOR.RED)
        strip2.show()
        time.sleep(1)

import random
import time
from rpi_ws281x import ws, Color, Adafruit_NeoPixel
import RPi.GPIO as GPIO
GPIO.cleanup()
GPIO.setmode(GPIO.BCM)
LED_1_PIN = 18
LED_1_COUNT = 2340
LED_1_BRIGHTNESS = 128
LED_2_PIN = 21
LED_2_COUNT = 2880
LED_2_BRIGHTNESS = 128
LED_3_PIN = 12
LED_3_COUNT = 300
LED_3_BRIGHTNESS = 128
GPIO.setup(LED_1_PIN, GPIO.OUT)


class COLOR:
    BLACK = Color(0, 0, 0)
    GREEN = Color(0, 255, 0)
    RED = Color(255, 0, 0)
    BLUE = Color(0, 0, 255)
    YELLOW = Color(255, 255, 0)
    PURPLE = Color(255, 0, 255)
    TURQUOISE = Color(0, 255, 255)


strip1 = Adafruit_NeoPixel(LED_1_COUNT, LED_1_PIN, 800000, 5, False,
    LED_1_BRIGHTNESS, 0, ws.WS2811_STRIP_GRB)
strip1.begin()
strip2 = Adafruit_NeoPixel(LED_2_COUNT, LED_2_PIN, 800000, 6, False,
    LED_2_BRIGHTNESS, 0, ws.WS2811_STRIP_GRB)
strip2.begin()
if __name__ == '__main__':
    while True:
        for i in range(strip1.numPixels()):
            strip1.setPixelColor(i, COLOR.RED)
        strip1.show()
        for i in range(strip2.numPixels()):
            strip2.setPixelColor(i, COLOR.GREEN)
        strip2.show()
        time.sleep(1)
        for i in range(strip1.numPixels()):
            strip1.setPixelColor(i, COLOR.GREEN)
        strip1.show()
        for i in range(strip2.numPixels()):
            strip2.setPixelColor(i, COLOR.BLUE)
        strip2.show()
        time.sleep(1)
        for i in range(strip1.numPixels()):
            strip1.setPixelColor(i, COLOR.BLUE)
        strip1.show()
        for i in range(strip2.numPixels()):
            strip2.setPixelColor(i, COLOR.RED)
        strip2.show()
        time.sleep(1)

#!/usr/bin/python
# -*- coding: UTF-8 -*-

import random
import time
from rpi_ws281x import ws, Color, Adafruit_NeoPixel
import RPi.GPIO as GPIO

GPIO.cleanup() 
GPIO.setmode(GPIO.BCM)
#12\18\21 0

LED_1_PIN = 18
LED_1_COUNT = 2340
LED_1_BRIGHTNESS = 128

LED_2_PIN = 21
LED_2_COUNT = 2880
LED_2_BRIGHTNESS = 128

LED_3_PIN = 12
LED_3_COUNT = 300
LED_3_BRIGHTNESS = 128

GPIO.setup(LED_1_PIN, GPIO.OUT)
# GPIO.setup(LED_2_PIN, GPIO.OUT)
# GPIO.setup(LED_3_PIN, GPIO.OUT)

class COLOR:
	BLACK = Color(0, 0, 0)
	GREEN = Color(0, 255, 0)
	RED = Color(255, 0, 0)
	BLUE = Color(0, 0, 255)
	YELLOW = Color(255, 255, 0)
	PURPLE = Color(255, 0, 255)
	TURQUOISE = Color(0, 255, 255)

strip1 = Adafruit_NeoPixel(LED_1_COUNT, LED_1_PIN, 800000, 5, False, LED_1_BRIGHTNESS, 0, ws.WS2811_STRIP_GRB)
strip1.begin()

strip2 = Adafruit_NeoPixel(LED_2_COUNT, LED_2_PIN, 800000, 6, False, LED_2_BRIGHTNESS, 0, ws.WS2811_STRIP_GRB)
strip2.begin()

# strip3 = Adafruit_NeoPixel(LED_3_COUNT, LED_3_PIN, 800000, 7, False, LED_2_BRIGHTNESS, 0, ws.WS2811_STRIP_GRB)
# strip3.begin()


if __name__ == '__main__':
	while True:	
		for i in range(strip1.numPixels()):
			strip1.setPixelColor(i, COLOR.RED)
		strip1.show()

		for i in range(strip2.numPixels()):
			strip2.setPixelColor(i, COLOR.GREEN)
		strip2.show()

		# for i in range(strip3.numPixels()):
		# 	strip3.setPixelColor(i, COLOR.BLUE)
		# strip3.show()

		time.sleep(1)

		for i in range(strip1.numPixels()):
			strip1.setPixelColor(i, COLOR.GREEN)
		strip1.show()

		for i in range(strip2.numPixels()):
			strip2.setPixelColor(i, COLOR.BLUE)
		strip2.show()

		# for i in range(strip3.numPixels()):
		# 	strip3.setPixelColor(i, COLOR.RED)
		# strip3.show()

		time.sleep(1)

		for i in range(strip1.numPixels()):
			strip1.setPixelColor(i, COLOR.BLUE)
		strip1.show()

		for i in range(strip2.numPixels()):
			strip2.setPixelColor(i, COLOR.RED)
		strip2.show()

		# for i in range(strip3.numPixels()):
		# 	strip3.setPixelColor(i, COLOR.GREEN)
		# strip3.show()

		time.sleep(1)

