semin ahn / Mbed OS zeta_stm_kinetic

Dependencies:   BufferedSerial

src/callbackHeader.hpp

Committer:
_seminahn
Date:
2021-06-10
Revision:
2:0de4854743f7
Parent:
1:2594a70c1ddd
Child:
3:a4677501ae87

File content as of revision 2:0de4854743f7:

#ifndef ZETA_STM_KINETIC_CALLBACKHEADER_H_
#define ZETA_STM_KINETIC_CALLBACKHEADER_H_
#include "rosHeader.hpp"
#include "mbed.h"
#include "myUtil.hpp"

//extern std_msgs::Bool UVCcontrolMsg;
extern volatile bool isSubscribe;
extern volatile uint8_t NUC_sub_state;
/*
void UVCcontrolCB(const std_msgs::Bool& msg) {
    UVCcontrolMsg.data = msg.data;
    isSubscribe = true;
}
*/

void BluetoothCB(const std_msgs::UInt8& msg) {
    NUC_sub_state = msg.data;
}
#endif