Closed pburkard closed 7 months ago
you should add print() part, it just assigned result to the variable and did not display, you can add a loop to display the result.
while True:
print("Current_mA: {}, Current_Voltage: {}". format(current_mA,voltage_v )
If I run the code from the demo.py file, it returns 0.0 for all readings. What can I do?
I can see the UPS detected at 0x40 from the Raspberrypi with i2cdetect -y 1 Thanks for the help