DRV8830/Texas Instruments H-Bridge Voltage-Controlled Motor Driver library for Brushed DC Motor
Dependents: NucleoF401_motor_test_simple Frequency_Counter_w_GPS_1PPS Nucleo_ACM1602_I2C_DC_Angle Frequency_Cntr_1PPS_F746ZG
Diff: DRV8830.h
- Revision:
- 2:fa7da669c1aa
- Parent:
- 1:a9b58bc85be0
- Child:
- 4:323a62f5fff3
diff -r a9b58bc85be0 -r fa7da669c1aa DRV8830.h --- a/DRV8830.h Thu Nov 27 21:25:10 2014 +0000 +++ b/DRV8830.h Thu Nov 27 21:41:21 2014 +0000 @@ -92,8 +92,8 @@ */ void speed(float speed); - /** Set motor speed - * @param speed (Range 0 to 1.0 or 0 to -1.0) + /** Set voltage + * @param voltage (0 to 5V) * @return none */ void set_voltage(float volt);