that code sets PortA.2 as input try TRISA = %00000001Originally Posted by OvERKiLL
also: since you are a student, I will ASSUME you do not have 30+ years of automotive experience, and make recommendations accordingly. Lay hands on an oscilliscope and go probe the output terminal of a running car alternator and learn what it is you are trying to measure, I believe it will be an eye opener.
Automotive systems are "Indian Country" to electronic devices full of spikes and dips and brownouts and oil and grease and high temps and dirt and . . . things that work on your bench often will not work there. JS
Bookmarks