Skip to content

Instantly share code, notes, and snippets.

@DankSteelMemes
DankSteelMemes / NeoPixelTurnSignals.ino
Created April 22, 2019 03:43 — forked from tlorens/NeoPixelTurnSignals.ino
NeoPixel Turn Signals Improved with Reverse Light
#include <Adafruit_NeoPixel.h>
/**
* NEO Pixel Turn signals.
* Author: Timothy Lorens <tlorens@cyberdyne.org>
* Date: 07/05/2018
*
* Simple sequential (sweeping) Turn signal logic with dim solid red run state lights
* along with white reverse light. AnalogRead() is used to determine if there's voltage
* on one of the analog pins. Since the blinker relay isn't consistent our loop should be