Microcontroller code for a hardhat with lights. Has flash mode and volume level detection mode.