Further work on VOC frequency measuring. Some ugly hacks because of stupid HW errors