Kim Youngsik / Mbed 2 deprecated 0SAS_FCC_V12

Dependencies:   MPU6050 mbed

Fork of 0SAS_FCC_V11 by Kim Youngsik

RC_Receiver/ROBOFRIEN_RCV.h

Committer:
skyyoungsik
Date:
2018-04-16
Revision:
0:a1ad0eb8b619

File content as of revision 0:a1ad0eb8b619:


#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