Yes, I am using the breakout board by Adafruit. I am really sorry for not mentioning this earlier. You are right I have not written an ISR. Will disabling the interrupts solve the problem? Am I missing a clearInterrupt() statement somewhere? Also, this( https://cdn-learn.adafruit.com/downloads/pdf/adafruit-ina219-current-sensor-breakout.pdf?timestamp=1555244505 ) documentation does not mention pull-up resistors.
↧