Library for MAX14871 Shield, MAXREFDES89#

Dependencies:   MAX5387 MAX7300

Dependents:   MAXREFDES89_MAX14871_Shield_Demo MAXREFDES89_Test_Program Line_Following_Bot Line_Following_Bot_Pololu

MAXREFDES89# Component Page

Revision:
7:c0bee1397f3e
Parent:
6:dc06cc75c1c8
--- a/max14871_shield.h	Fri May 13 00:03:32 2016 +0000
+++ b/max14871_shield.h	Mon Aug 15 19:22:31 2016 +0000
@@ -120,7 +120,7 @@
     *
     * @return None
     **************************************************************/
-    Max14871_Shield(I2C *i2c_bus, bool default_config);
+    Max14871_Shield(I2C *i2c_bus, bool default_config = true);
     
     
     /**********************************************************//**
@@ -139,7 +139,7 @@
     *
     * @return None
     **************************************************************/
-    Max14871_Shield(PinName sda, PinName scl, bool default_config);
+    Max14871_Shield(PinName sda, PinName scl, bool default_config = true);
     
     
     /**********************************************************//**
@@ -191,7 +191,7 @@
     **************************************************************/
     int16_t set_current_regulation_mode(max14871_motor_driver_t md, 
                                         max14871_current_regulation_mode_t mode,
-                                        float vref);
+                                        float vref = 1.0);
     
     
     /**********************************************************//**