From e30432562203f6b9bb8503a0324b5fe5b0276500 Mon Sep 17 00:00:00 2001 From: Matheus Marabesi Date: Thu, 26 Apr 2018 15:00:02 -0300 Subject: [PATCH] Update MMA7660.h Allowed users to read X, Y, Z from sketch --- DigitalAccelerometer_MMA7660FC/MMA7660.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DigitalAccelerometer_MMA7660FC/MMA7660.h b/DigitalAccelerometer_MMA7660FC/MMA7660.h index 7af4985..983fa4c 100644 --- a/DigitalAccelerometer_MMA7660FC/MMA7660.h +++ b/DigitalAccelerometer_MMA7660FC/MMA7660.h @@ -50,7 +50,7 @@ #define MMA7660_PD 0x0A class MMA7660 { -private: +public: void write(uint8_t _register, uint8_t _data); uint8_t read(uint8_t _register); public: