Simple pitch recognition on PierinPIC18