How can print maximum and minimum current reading from INA 219 using Arduino Uno

@knshanil, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.

  1. Keep two variables, one for the minimum and one for the maximum. Set maximum to 0 and minimum to e.g. 9999.
  2. Read the INA219 (no idea how, no experience with it).
  3. Compare the reading with minimum, update minimum if reading is lower.
  4. Compare the reading with maximum, update maximum if reading is higher.
  5. Back to (2).