Skip to content

Instantly share code, notes, and snippets.

@lARSHADl
Created June 3, 2021 08:52
Show Gist options
  • Save lARSHADl/ba4db6e0222366fce3d9c3cf22236a2e to your computer and use it in GitHub Desktop.
Save lARSHADl/ba4db6e0222366fce3d9c3cf22236a2e to your computer and use it in GitHub Desktop.
code for mi tc
Protocol=PULSE_DISTANCE Address=0x0 Command=0x0 Raw-Data=0x356 10 bits LSB first
Raw result in internal ticks (50 us) - with leading gap
rawData[24]:
-65535
+ 23,- 11 + 12,- 12 + 14,- 28 + 13,- 29
+ 13,- 12 + 14,- 28 + 14,- 11 + 15,- 27
+ 12,- 13 + 12,- 30 + 12,- 30 + 13
Raw result in microseconds - with leading gap
rawData[24]:
-3276750
+1150,- 550 + 600,- 600 + 700,-1400 + 650,-1450
+ 650,- 600 + 700,-1400 + 700,- 550 + 750,-1350
+ 600,- 650 + 600,-1500 + 600,-1500 + 650
Result as internal ticks (50 us) array - compensated with MARK_EXCESS_MICROS=20
uint8_t rawTicks[23] = {23,11, 12,12, 14,28, 13,29, 13,12, 14,28, 14,11, 15,27, 12,13, 12,30, 12,30, 13}; // Protocol=PULSE_DISTANCE Address=0x0 Command=0x0 Raw-Data=0x356 10 bits LSB first
Result as microseconds array - compensated with MARK_EXCESS_MICROS=20
uint16_t rawData[23] = {1130,570, 580,620, 680,1420, 630,1470, 630,620, 680,1420, 680,570, 730,1370, 580,670, 580,1520, 580,1520, 630}; // Protocol=PULSE_DISTANCE Address=0x0 Command=0x0 Raw-Data=0x356 10 bits LSB first
uint16_t address = 0x0;
uint16_t command = 0x0;
uint32_t data = 0x356;
Pronto Hex as string
char ProntoData[] = "0000 006D 000C 0000 002D 0014 0018 0016 001C 0035 001A 0037 001A 0016 001C 0035 001C 0014 001E 0033 0018 0018 0018 0039 0018 0039 001A 06C3 "
Protocol=PULSE_DISTANCE Address=0x0 Command=0x0 Raw-Data=0x356 10 bits LSB first
Space between two detected transmission is greater than 5000 but smaller than the minimal gap of 20000 known for a protocol.
Try to increase the RECORD_GAP_MICROS in IRremote.h.
Raw result in internal ticks (50 us) - with leading gap
rawData[24]:
-212
+ 23,- 10 + 14,- 10 + 14,- 28 + 13,- 29
+ 15,- 10 + 14,- 28 + 14,- 10 + 15,- 27
+ 14,- 11 + 14,- 28 + 14,- 28 + 14
Raw result in microseconds - with leading gap
rawData[24]:
-10600
+1150,- 500 + 700,- 500 + 700,-1400 + 650,-1450
+ 750,- 500 + 700,-1400 + 700,- 500 + 750,-1350
+ 700,- 550 + 700,-1400 + 700,-1400 + 700
Result as internal ticks (50 us) array - compensated with MARK_EXCESS_MICROS=20
uint8_t rawTicks[23] = {23,10, 14,10, 14,28, 13,29, 15,10, 14,28, 14,10, 15,27, 14,11, 14,28, 14,28, 14}; // Protocol=PULSE_DISTANCE Address=0x0 Command=0x0 Raw-Data=0x356 10 bits LSB first
Space between two detected transmission is greater than 5000 but smaller than the minimal gap of 20000 known for a protocol.
Try to increase the RECORD_GAP_MICROS in IRremote.h.
Result as microseconds array - compensated with MARK_EXCESS_MICROS=20
uint16_t rawData[23] = {1130,520, 680,520, 680,1420, 630,1470, 730,520, 680,1420, 680,520, 730,1370, 680,570, 680,1420, 680,1420, 680}; // Protocol=PULSE_DISTANCE Address=0x0 Command=0x0 Raw-Data=0x356 10 bits LSB first
Space between two detected transmission is greater than 5000 but smaller than the minimal gap of 20000 known for a protocol.
Try to increase the RECORD_GAP_MICROS in IRremote.h.
uint16_t address = 0x0;
uint16_t command = 0x0;
uint32_t data = 0x356;
Pronto Hex as string
char ProntoData[] = "0000 006D 000C 0000 002D 0012 001C 0012 001C 0035 001A 0037 001E 0012 001C 0035 001C 0012 001E 0033 001C 0014 001C 0035 001C 0035 001C 06C3 "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment