coments

Fork of ADXL345 by Ailton Siqueira Jr

Revision:
1:adc25a85eb76
Parent:
0:bd8f0f20f433
--- a/ADXL345.h	Mon Sep 06 13:53:03 2010 +0000
+++ b/ADXL345.h	Mon Aug 03 17:01:22 2015 +0000
@@ -492,6 +492,15 @@
      */
     int getFifoStatus(void);
     
+    /**
+     * Read several consecutive bytes on the device.
+     *
+     * @param startAddress The address of the first register to read from.
+     * @param buffer Pointer to a buffer to store data read from the device.
+     * @param size The number of bytes to read.
+     */
+    void multiByteRead(int startAddress, char* buffer, int size);
+    
 private:
 
     SPI        spi_;
@@ -514,14 +523,7 @@
      */
     void oneByteWrite(int address, char data);
 
-    /**
-     * Read several consecutive bytes on the device.
-     *
-     * @param startAddress The address of the first register to read from.
-     * @param buffer Pointer to a buffer to store data read from the device.
-     * @param size The number of bytes to read.
-     */
-    void multiByteRead(int startAddress, char* buffer, int size);
+
 
     /**
      * Write several consecutive bytes on the device.