我想对AC遥控器进行编码,但给了我未知的编码。
当我按一次按钮时,所有按钮都得到相同的结果,但是当我不断按按钮时, public void GroupServicesByLocation()
{
var groupedCollection = IrrigNetCollection.GroupBy(x => x.StationName);
}
public ObservableCollection<IrrigNetModelItem> IrrigNetCollection { get; set; } = new ObservableCollection<IrrigNetModelItem>();
public async void GetData()
{
base.OnAppearing();
dialog.Show();
var token = LocalData.Token;
var data = await IrrigNetService.GetServices(token, "sr");
var irrigNetModel = new IrrigNetModelItem();
foreach (var d in data.items)
{
IrrigNetCollection.Add(d);
if (d.ServiceName == "irrigNET")
{
IrrigCounter++;
FrameImage = "service_irrig_img.png";
FrameHeaderColor = Color.FromHex("#33A8F7");
ServiceName = "irrigNET";
FrameIcon = "service_irrig.png";
}
else
{
AlertCounter++;
FrameImage = "alert.png";
FrameHeaderColor = Color.FromHex("#2BB24B");
ServiceName = "alertNET";
FrameIcon = "service_trap.png";
}
}
dialog.Hide();
}
号将被更改!
以下是运行时信息:
RAW
这是我的代码:
Timestamp : 000626.759
Encoding : UNKNOWN
Code : F3457ED1 (114 bits)
Library : v2.6.0
Raw Timing[227]:
+ 2966, - 1768, + 418, - 1126, + 418, - 1124, + 418, - 408,
+ 416, - 408, + 416, - 408, + 416, - 1126, + 418, - 408,
+ 414, - 424, + 414, - 1126, + 418, - 1126, + 418, - 408,
+ 414, - 1126, + 416, - 410, + 414, - 410, + 414, - 1126,
+ 416, - 1142, + 416, - 408, + 416, - 1126, + 416, - 1126,
+ 416, - 410, + 414, - 408, + 414, - 1126, + 416, - 410,
+ 414, - 424, + 414, - 1128, + 416, - 408, + 414, - 410,
+ 414, - 410, + 414, - 410, + 414, - 408, + 414, - 410,
+ 412, - 424, + 414, - 410, + 414, - 410, + 414, - 410,
+ 414, - 410, + 414, - 408, + 414, - 410, + 414, - 410,
+ 414, - 424, + 414, - 410, + 414, - 410, + 414, - 1128,
+ 416, - 410, + 414, - 410, + 414, - 1126, + 416, - 410,
+ 412, - 424, + 414, - 1126, + 416, - 1130, + 414, - 410,
+ 414, - 408, + 414, - 410, + 414, - 410, + 414, - 410,
+ 414, - 424, + 414, - 410, + 414, - 408, + 414, - 410,
+ 412, - 412, + 412, - 410, + 412, - 410, + 414, - 410,
+ 414, - 426, + 412, - 412, + 412, - 410, + 414, - 410,
+ 412, - 410, + 414, - 410, + 414, - 410, + 412, - 410,
+ 412, - 426, + 412, - 410, + 412, - 410, + 412, - 410,
+ 414, - 410, + 414, - 410, + 412, - 410, + 412, - 410,
+ 414, - 426, + 410, - 410, + 414, - 410, + 412, - 410,
+ 412, - 412, + 412, - 410, + 414, - 410, + 412, - 410,
+ 414, - 424, + 412, - 410, + 412, - 412, + 412, - 410,
+ 412, - 410, + 412, - 412, + 412, - 412, + 412, - 410,
+ 412, - 426, + 412, - 410, + 412, - 410, + 412, - 410,
+ 414, - 410, + 414, - 412, + 412, - 410, + 412, - 412,
+ 412, - 426, + 412, - 410, + 414, - 410, + 412, - 1128,
+ 414, - 1128, + 416, - 1128, + 416, - 1128, + 414, - 412,
+ 412, - 428, + 412
我正在使用的图书馆是// UNKNOWN F3457ED1
uint16_t rawData[227] = {
2966, 1768, 418, 1126, 418, 1124, 418, 408, 416, 408, 416, 408, 416, 1126, 418, 408,
414, 424, 414, 1126, 418, 1126, 418, 408, 414, 1126, 416, 410, 414, 410, 414, 1126,
416, 1142, 416, 408, 416, 1126, 416, 1126, 416, 410, 414, 408, 414, 1126, 416, 410,
414, 424, 414, 1128, 416, 408, 414, 410, 414, 410, 414, 410, 414, 408, 414, 410, 412,
424, 414, 410, 414, 410, 414, 410, 414, 410, 414, 408, 414, 410, 414, 410, 414, 424,
414, 410, 414, 410, 414, 1128, 416, 410, 414, 410, 414, 1126, 416, 410, 412, 424, 414,
1126, 416, 1130, 414, 410, 414, 408, 414, 410, 414, 410, 414, 410, 414, 424, 414, 410,
414, 408, 414, 410, 412, 412, 412, 410, 412, 410, 414, 410, 414, 426, 412, 412, 412, 410,
414, 410, 412, 410, 414, 410, 414, 410, 412, 410, 412, 426, 412, 410, 412, 410, 412, 410,
414, 410, 414, 410, 412, 410, 412, 410, 414, 426, 410, 410, 414, 410, 412, 410, 412, 412,
412, 410, 414, 410, 412, 410, 414, 424, 412, 410, 412, 412, 412, 410, 412, 410, 412, 412,
412, 412, 412, 410, 412, 426, 412, 410, 412, 410, 412, 410, 414, 410, 414, 412, 412, 410,
412, 412, 412, 426, 412, 410, 414, 410, 412, 1128, 414, 1128, 416, 1128, 416, 1128, 414,
412, 412, 428, 412
};
和IRremoteESP8266
示例文件,用于获取IR代码。
我尝试过三星遥控器能正常工作,但交流遥控器没有给我正确的十六进制代码,这是什么问题?
它是红外遥控器本身,不能通过编辑代码解决吗?