Kim Youngsik / Mbed 2 deprecated 0SAS_FCC_V12

Dependencies:   MPU6050 mbed

Fork of 0SAS_FCC_V11 by Kim Youngsik

Revision:
0:a1ad0eb8b619
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RC_Receiver/ROBOFRIEN_RCV.h	Mon Apr 16 07:16:00 2018 +0000
@@ -0,0 +1,35 @@
+
+#ifndef MBED_ROBOFRIEN_RCV_H
+#define MBED_ROBOFRIEN_RCV_H
+
+#include "mbed.h"
+
+
+
+class ROBOFRIEN_RCV {
+public:
+    ROBOFRIEN_RCV(PinName RCV1);
+    void Init();
+    bool rc_state[6];
+    float lpf_cap[6];
+    void Update();
+
+
+private:
+    InterruptIn _InterruptIn1;
+
+    void isr_rc_rcv1_rise();
+    void isr_rc_rcv1_fall();
+    void isr_rc_rcv2_rise();
+    void isr_rc_rcv2_fall();
+    void isr_rc_rcv3_rise();
+    void isr_rc_rcv3_fall();
+    void isr_rc_rcv4_rise();
+    void isr_rc_rcv4_fall();
+    void isr_rc_rcv5_rise();
+    void isr_rc_rcv5_fall();
+    void isr_rc_rcv6_rise();
+    void isr_rc_rcv6_fall();
+    };
+
+#endif
\ No newline at end of file