I'm using an Arduino and Mosfets to modulate LED RGB light strips. The INA219 works fine at full voltage but as it is lowered the mA values get more and more erratic. It works flawlessly when analogWrite is set to 255. However values at 230 and below cause the INA219 to output ranges from 7.05 mA to 6553.40 mA.
Here is a webpage with a photo of the setup and a screenshot of the serial window. The digital scrap on the left is the LED block covered with a DMV post it. I tried panorama mode on my phone to get a close up and moved to quickly at the end.
Thanks in advance