getGrovePowerSupplyVoltage method

int getGrovePowerSupplyVoltage()

Returns the supply voltage.

Implementation

int getGrovePowerSupplyVoltage() {
  return _read16BitRegister(0x29);
}