debugging pin level detect.