This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Put together & tested by: | |
Scottie Digital | |
*/ | |
#include "FastLED.h" | |
#define NUM_LEDS 14 // # of LEDS in the strip | |
#define LED_TYPE WS2812B | |
CRGB leds[NUM_LEDS]; | |
#define PIN 6 // Output Pin to Data Line on Strip | |
#define COLOR_ORDER GRB // I had to change this for my strip if your color is off then you know. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 4 channel Relay Code By:Scottie Digital 2016 | |
from Tkinter import * | |
import tkFont | |
import RPi.GPIO as GPIO | |
from subprocess import call | |
GPIO.setmode(GPIO.BOARD) | |
GPIO.setup(29, GPIO.OUT) | |
GPIO.setup(31, GPIO.OUT) |