#!/usr/bin/python

from NeoBoardClasses import ADS1000

ADS1000_ADDRESS = 0x48
ADS1000 = ADS1000(ADS1000_ADDRESS)

# Read battery level
voltage, percentage = ADS1000.readBattery()
print("Battery level is {:.2f}V, {:.2f}%".format(voltage, percentage))

4782e6d5c0ef5a77052fc38de2417dc26cb3ef72
<mask token>

<mask token>
print('Battery level is {:.2f}V, {:.2f}%'.format(voltage, percentage))

<mask token>
ADS1000_ADDRESS = 72
ADS1000 = ADS1000(ADS1000_ADDRESS)
voltage, percentage = ADS1000.readBattery()
print('Battery level is {:.2f}V, {:.2f}%'.format(voltage, percentage))

from NeoBoardClasses import ADS1000
ADS1000_ADDRESS = 72
ADS1000 = ADS1000(ADS1000_ADDRESS)
voltage, percentage = ADS1000.readBattery()
print('Battery level is {:.2f}V, {:.2f}%'.format(voltage, percentage))

#!/usr/bin/python

from NeoBoardClasses import ADS1000

ADS1000_ADDRESS = 0x48
ADS1000 = ADS1000(ADS1000_ADDRESS)

# Read battery level
voltage, percentage = ADS1000.readBattery()
print("Battery level is {:.2f}V, {:.2f}%".format(voltage, percentage))
