Updated IRSend RAW Encoding (markdown)

s-hadinger 2019-08-05 10:22:19 +02:00
parent 9589e8c534
commit 19e5309428
1 changed files with 5 additions and 5 deletions

@ -147,12 +147,12 @@ Let's take a Pioneer Receiver like VSX-820. Choose the right Excel file and navi
Pioneer codes are in short format. For example "TV / SAT" code is `A59B+A5CD`. You now need to convert these short codes into 64 bits IRRemote8266 codes.
Steps:
1. Take the first byte: 0xA5 or 0b10100101. Pioneer codes are LSB, but we need MSB. So read backwards all bits to 0b10100101 and back to hex `A5`. Your first byte is `A5`. Note: You can see here that `0xA5` is a palindrome.
2. Invert all bits of previous byte: 0b01011010. Your second byte is `5A`.
3. Take the second byte 0x9B or 0b10011011. Read backwards all bits giving 0b11011001. Your third byte is `D9`.
4. Invert all bits from previous byte: 0b00100110. Your fourth byte is `26`.
1. Take the first byte: `0xA5` or `0b10100101`. Pioneer codes are LSB, but we need MSB. So read backwards all bits to 0b10100101 and back to hex `A5`. Your first byte is `A5`. Note: You can see here that `0xA5` is a palindrome.
2. Invert all bits of previous byte: `0b01011010`. Your second byte is `5A`.
3. Take the second byte `0x9B` or `0b10011011`. Read backwards all bits giving 0b11011001. Your third byte is `D9`.
4. Invert all bits from previous byte: `0b00100110`. Your fourth byte is `26`.
Do the same with the second sequence `A5CD`, you shold find the following sequence: `A55AB3CD`.
Do the same with the second sequence `A5CD`, you should find the following sequence: `A55AB3CD`.
The final sequence is: