NIT Fukui / Serial6050Yaw

Dependents:   R1Arobo_Maika_B 2021Arobo_UMAPYOI 2021Arobo_YUMIPYOI

Revision:
2:00a8daf9203b
Parent:
1:97a3a91ce950
Child:
4:413d60ebdcf2
--- a/Serial6050.h	Wed Sep 26 00:55:39 2018 +0000
+++ b/Serial6050.h	Fri Oct 05 07:34:34 2018 +0000
@@ -15,14 +15,13 @@
     RawSerial serial;
     DigitalOut rst;
     int resetValue;
-    void intReceive() {
-        lower = serial.getc();
-    }
+    int Bias;
+    void intReceive();
 public:
     Serial6050(PinName tx, PinName rx, PinName reset);
     void init();
     void reset();
-    volatile char lower;
-    volatile char higher;
+    volatile uint8_t data;
+    volatile int Deg;
     float read();
 };
\ No newline at end of file