So I have a hall current sensor that in debug mode with just a readadc10 command gives a nice steady 512 from my 08m picaxe. As soon as I start running my full fledged code that has one other ADC running and a PWM output that same sensor in the debug mode now reads around 420 about 90% of the time and reads 620 on the rest of the reads. Averages out to about 440.
My code doesn't change this reading that I can see and I can't figure out what the heck is happening. I had this unit working a while back and now this messes my code all up because it expects zero to be at 512.
My code doesn't change this reading that I can see and I can't figure out what the heck is happening. I had this unit working a while back and now this messes my code all up because it expects zero to be at 512.