Ryan Vasquez / AD7989_Driver
Revision:
6:e018ebbbc7eb
Parent:
5:558b7506e684
Child:
7:8717395d66e7
diff -r 558b7506e684 -r e018ebbbc7eb AD7989.h
--- a/AD7989.h	Mon Jan 21 19:08:10 2019 +0000
+++ b/AD7989.h	Mon Jan 21 19:09:50 2019 +0000
@@ -2,9 +2,11 @@
 #define AD7989_H
 
 #include "mbed.h"
-    /** An abstraction for an 18 bit ADC
+   /** An abstraction for an 18 bit ADC
     *  @note Not quite sure this is thread or interrupt safe. Treat this as a standard mbed SPI object
     *  There are mutex locks when the SPI bus is being used.
+    *
+    *  Example:
     *  @code
     *  #include "mbed.h"
     *  #include "AD7989_Driver.h"
@@ -22,6 +24,7 @@
     *      printf("Voltage = %f Volts", voltage);
     *    }
     *  }
+    *  @endcode
     */
 class AD7989_Driver
 {