Adding support for PWM on Arduino Mega 2560. Adding Analog Comparator support.