Christmas Light Controller & Real Time Frequency Analyzer based on FHT code by Open Music Labs at http://openmusiclabs.com
Then modified by PK from : https://dqydj.com/build-your-own-real-time-frequency-analyzer-and-christmas-light-controller/
Modified by dimecoin: https://github.com/dimecoin/XmasFHT
Requires FHT library, from here: http://wiki.openmusiclabs.com/wiki/ArduinoFHT
- Added a auto-calibration feature to zero out line noies.
- Small code clean up to make it easier to maintain, but tried to keep his orignal style.
- Added debug information, just define DEBUG.