I know that Atmel recommends filtering AVCC with an inductor and capacitor when you want to get good ADC. But is this important when using the analog comparator? I'd have thought that at least some of the noise would be common mode and might tend to be rejected by the comparator.
So, do I need to filter the AVCC if I am NOT doing any ADC, but I am using the comparator. FWIW, I am using the M328 for this project.