# 使用 Decode1527Init 创建接收任务 # gpio_num 为接收端口IO # CallbackFunc 为识别之后的回调函数 //长按次数 #define LongPress1527Times 16 /// @brief 1527协议遥控回到函数 Count识别到的次数 KeyValue按键的值 typedef void (*Decode1527Callback)(int Count,uint32_t KeyValue); void Decode1527Init( gpio_num_t gpio_num, Decode1527Callback CallbackFunc );
idf.py add-dependency "junhui93/decode1527^1.0.1"