real PWM for smooth LED pulsing
volatility
address gcc warnings