PIC18F4520 direct interface application code for capacitive humidity sensors