Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of 0SAS_FCC_V11 by
Diff: RC_Receiver/ROBOFRIEN_RCV.h
- 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
