Skip to content

Instantly share code, notes, and snippets.

View ScottieD369's full-sized avatar
💭
IoT

ScottieD369 ScottieD369

💭
IoT
View GitHub Profile
@ScottieD369
ScottieD369 / RGB_FADE.ino
Created March 3, 2018 02:47
RGB LED strip Fade
/*
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.
@ScottieD369
ScottieD369 / RelayControl.py
Last active March 4, 2018 08:58
4 CH Relay Control Python
# 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)