Skip to content

MajicDesigns/DragLights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DragLights

An Arduino sketch to implement Drag Racing (Christmas Tree) starter lights.

This code accompanies the blog article at the Arduino++ blog

DragLights encodes the rules below with the 'lamps' implemented as NeoPixel LEDs managed by the FastLED library.

  • One active low digital input switch is used to start/reset the lights sequence.
  • Pairs of active low digital inputs are used to signal the prestage and staged optical beams per racer.
  • Optionally, one digital input signals racer going past finish line if timing mode is enabled. At the end of the run the time results are printed to the serial monitor.