Frequency meter composed of 51 single chip microcomputer