Library for TI's DRV 2605

Dependents:   sonar_vibrator

Revision:
2:08f047da9397
Parent:
1:0747096351be
--- a/DRV2605.cpp	Mon Nov 13 09:20:02 2017 +0000
+++ b/DRV2605.cpp	Mon Nov 20 07:06:21 2017 +0000
@@ -122,7 +122,7 @@
     i2cWriteByte(REAL_TIME_PLAYBACK, rtp);
 }
 
-float DRV2605::battery_voltage(void)
+float DRV2605::batteryVoltage(void)
 {
     return (float)i2cReadByte(VBAT_VOLTAGE_MONITOR) / 255.0 * 5.6;
 }
\ No newline at end of file