我一直在尝试从树莓派 2 上的 AC 遥控器解码原始代码。
我无法以十六进制值对其进行解码。
这是 On 和 Off 的原始代码:
名字 bhutOn
8423 4226 566 544 576 1617
571 1622 576 537 573 1620
568 545 574 1618 571 549
571 1621 577 536 574 1619
569 1624 574 538 572 1629
559 1627 572 548 571 540
570 542 567 545 575 537
572 541 568 542 568 544
576 543 566 546 574 538
571 541 569 542 567 545
575 542 567 539 571 549
570 1622 577 1617 571 541
568 544 566 551 569 1619
569 543 566 553 567 544
576 563 546 566 543 568
542 576 544 562 547 564
545 575 545 566 543 569
541 571 548 564 546 538
571 542 568 543 576 543
577 535 574 538 572 539
570 542 567 545 575 536
574 545 564 549 571 540
569 543 577 535 574 537
573 539 570 542 567 545
575 545 575 536 574 537
572 540 569 543 577 534
575 537 573 539 570 549
571 541 568 544 575 536
574 538 571 541 569 543
577 534 575 545 575 536
573 539 571 541 568 544
576 535 574 538 571 541
569 550 569 543 567 544
575 544 566 539 571 541
568 560 560 535 574 545
574 538 572 540 569 543
567 572 547 563 547 565
544 568 541 578 542 1625
573 1620 569 546 564 545
574 538 572 1621 567 545
575 529 570
名称 bhutOff
8421 4223 566 543 566 1626
572 1622 577 536 574 1618
569 543 567 1626 573 547
572 1621 573 539 575 1618
570 1624 574 538 572 1621
567 1627 571 548 571 541
569 542 567 545 575 536
573 539 570 542 568 544
575 544 576 536 573 538
572 540 569 543 566 546
574 537 572 540 580 539
570 1623 576 1618 570 569
540 571 549 563 546 1620
568 571 549 570 550 562
547 565 545 567 542 569
541 571 548 563 547 1620
568 1633 576 563 546 565
544 568 542 570 549 562
547 565 545 568 541 550
570 542 577 535 575 537
572 540 569 542 568 544
575 537 573 546 573 538
572 540 569 543 577 535
574 537 572 540 570 569
540 552 568 571 548 563
547 565 544 568 541 571
549 562 547 565 545 574
545 567 543 569 540 545
575 537 572 539 571 541
568 544 576 543 576 536
573 539 571 540 569 543
567 545 574 537 572 540
570 550 569 542 568 544
575 537 573 539 570 541
569 543 566 546 574 545
574 538 572 539 570 542
567 545 575 537 573 538
571 541 568 551 569 1624
574 1619 570 1624 574 1619
570 543 566 1626 572 540
569 535 57
Raspberry pi 无法解码原始代码并显示以下错误:
pi@raspberrypi ~ $ sudo irrecord -a /home/pi/temp1.conf
Unknown encoding found.
irrecord: decoding of on failed
irrecord: decoding of off failed
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(emulation) on Sun Mar 13 13:19:20 2016
#
# contributed by
#
# brand: lgac
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name lgac
bits 0
flags RC5
eps 30
aeps 100
one 0 0
zero 0 0
gap 28205
toggle_bit_mask 0x0
begin codes
end codes
end remote
pi@raspberrypi ~ $
我是树莓派的新手。任何帮助都会很棒。提前致谢。:)