PiSupply / PiJuice

Resources for PiJuice HAT for Raspberry Pi - use your Pi Anywhere
https://uk.pi-supply.com/collections/pijuice/products/pijuice-portable-power-raspberry-pi
GNU General Public License v3.0
437 stars 104 forks source link

Hardware/Batteries/pijuice-soc-test.py: basically modernize syntax for Python3 #1097

Open jimklimov opened 2 weeks ago

jimklimov commented 2 weeks ago

NOTE: Not sure what this line was supposed to mean:

Rbat=(volt_off-volt_on)/(Ibat+0000000001)

is it just one, or a missed decimal point of a very small number?