Home » DEVELOPERS » readVusb() – API Python MRPiZ

readVusb()

 

Description

Read the usb voltage (V).

Syntax

readVusb()

Parameters

None.

Returns

Voltage value in volt (float type)

Exemple

from mrpiZ_lib import *
import time

#read the micro usb voltage

Volt = readVusb()

print Volt