semin ahn / Mbed OS zeta_stm_kinetic

Dependencies:   BufferedSerial

src/callbackHeader.hpp

Committer:
_seminahn
Date:
2021-05-26
Revision:
1:2594a70c1ddd
Parent:
0:4ff8aeb3e4d1
Child:
2:0de4854743f7

File content as of revision 1:2594a70c1ddd:

#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