2024-03-10 14:27:46 -04:00
|
|
|
#pragma once
|
|
|
|
|
2024-03-16 16:25:33 -04:00
|
|
|
extern uint8_t IR_RX_GPIO;
|
2024-03-10 14:27:46 -04:00
|
|
|
extern uint8_t IR_VCC_GPIO;
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
void start_infraredReceiver_HAL(void);
|
|
|
|
void shutdown_infraredReceiver_HAL(void);
|
|
|
|
void infraredReceiver_loop_HAL(void);
|
|
|
|
|
|
|
|
bool get_irReceiverEnabled_HAL();
|
|
|
|
void set_irReceiverEnabled_HAL(bool aIrReceiverEnabled);
|
|
|
|
|
2024-03-18 15:20:59 -04:00
|
|
|
typedef void (*tAnnounceNewIRmessage_cb)(std::string message);
|
|
|
|
void set_announceNewIRmessage_cb_HAL(tAnnounceNewIRmessage_cb pAnnounceNewIRmessage_cb);
|