ADXL345 I2C + LCD + EEPROM

Dependents:   Projetminimal

Revision:
4:d36db669ff1c
Parent:
3:b4f3f0b17f41
--- a/ADXL345_I2C.h	Fri May 24 17:27:15 2019 +0000
+++ b/ADXL345_I2C.h	Fri May 24 18:00:07 2019 +0000
@@ -127,6 +127,10 @@
 
 
 
+
+#define EEPROM_READ  0xA6
+#define EEPROM_WRITE 0XA7
+
 #define LCD          0x50
 #define LCD_ON       0x41
 #define LCD_OFF      0x42
@@ -157,6 +161,8 @@
      *        x-axis, y-axis and z-axis [in that order].
      */
     void getOutput(int* readings);
+    
+    void writeEEPROM(char *data, uint8_t lenght);
 
     void LCDprint(float X, float Y, float Z);