2022-09-22 19:23:20 +01:00
|
|
|
Filetype: IR signals file
|
|
|
|
Version: 1
|
2024-12-29 13:04:17 +01:00
|
|
|
# Playtive train IR codes:
|
|
|
|
# Bits are encoded in the length of the light (high) pulses. Lows (dark) are just separators.
|
|
|
|
# All lows (dark) are ~1ms (900us)
|
|
|
|
# Highs (light) are multiples of ~1ms, as: <start_bit> == 3100us; one (1) == 2100us; zero (0) == 1100us.
|
|
|
|
# Packet format: <start_bit><command_byte><check_byte>, total 17 highs and 16 lows.
|
|
|
|
# <check_byte> = <command_byte> XOR 0xFF
|
|
|
|
# Repeated packets are separated with a ~0.1s (106100us) long gap, resulting in ~9-10 packets / sec.
|
2024-10-26 22:50:53 +08:00
|
|
|
#
|
2024-12-29 13:04:17 +01:00
|
|
|
# 0xD1
|
2022-09-22 19:23:20 +01:00
|
|
|
name: A_up
|
|
|
|
type: raw
|
|
|
|
frequency: 38000
|
|
|
|
duty_cycle: 0.330000
|
2024-12-29 13:04:17 +01:00
|
|
|
data: 3100 900 2100 900 2100 900 1100 900 2100 900 1100 900 1100 900 1100 900 2100 900 1100 900 1100 900 2100 900 1100 900 2100 900 2100 900 2100 900 1100
|
2024-10-26 22:50:53 +08:00
|
|
|
#
|
2024-12-29 13:04:17 +01:00
|
|
|
# 0xE1
|
|
|
|
name: A_stop
|
|
|
|
type: raw
|
|
|
|
frequency: 38000
|
|
|
|
duty_cycle: 0.330000
|
|
|
|
data: 3100 900 2100 900 2100 900 2100 900 1100 900 1100 900 1100 900 1100 900 2100 900 1100 900 1100 900 1100 900 2100 900 2100 900 2100 900 2100 900 1100
|
|
|
|
#
|
|
|
|
# 0xC9
|
2022-09-22 19:23:20 +01:00
|
|
|
name: A_down
|
|
|
|
type: raw
|
|
|
|
frequency: 38000
|
|
|
|
duty_cycle: 0.330000
|
2024-12-29 13:04:17 +01:00
|
|
|
data: 3100 900 2100 900 2100 900 1100 900 1100 900 2100 900 1100 900 1100 900 2100 900 1100 900 1100 900 2100 900 2100 900 1100 900 2100 900 2100 900 1100
|
2024-10-26 22:50:53 +08:00
|
|
|
#
|
2024-12-29 13:04:17 +01:00
|
|
|
# 0xC3
|
2022-09-22 19:23:20 +01:00
|
|
|
name: A_sound
|
|
|
|
type: raw
|
|
|
|
frequency: 38000
|
|
|
|
duty_cycle: 0.330000
|
2024-12-29 13:04:17 +01:00
|
|
|
data: 3100 900 2100 900 2100 900 1100 900 1100 900 1100 900 1100 900 2100 900 2100 900 1100 900 1100 900 2100 900 2100 900 2100 900 2100 900 1100 900 1100
|
2024-10-26 22:50:53 +08:00
|
|
|
#
|
2024-12-29 13:04:17 +01:00
|
|
|
# 0xC5
|
2022-09-22 19:23:20 +01:00
|
|
|
name: A_light
|
|
|
|
type: raw
|
|
|
|
frequency: 38000
|
|
|
|
duty_cycle: 0.330000
|
2024-12-29 13:04:17 +01:00
|
|
|
data: 3100 900 2100 900 2100 900 1100 900 1100 900 1100 900 2100 900 1100 900 2100 900 1100 900 1100 900 2100 900 2100 900 2100 900 1100 900 2100 900 1100
|
2024-10-26 22:50:53 +08:00
|
|
|
#
|
2024-12-29 13:04:17 +01:00
|
|
|
# 0x91
|
2022-09-22 19:23:20 +01:00
|
|
|
name: B_up
|
|
|
|
type: raw
|
|
|
|
frequency: 38000
|
|
|
|
duty_cycle: 0.330000
|
2024-12-29 13:04:17 +01:00
|
|
|
data: 3100 900 2100 900 1100 900 1100 900 2100 900 1100 900 1100 900 1100 900 2100 900 1100 900 2100 900 2100 900 1100 900 2100 900 2100 900 2100 900 1100
|
|
|
|
#
|
|
|
|
# 0xA1
|
|
|
|
name: B_stop
|
|
|
|
type: raw
|
|
|
|
frequency: 38000
|
|
|
|
duty_cycle: 0.330000
|
|
|
|
data: 3100 900 2100 900 1100 900 2100 900 1100 900 1100 900 1100 900 1100 900 2100 900 1100 900 2100 900 1100 900 2100 900 2100 900 2100 900 2100 900 1100
|
2024-10-26 22:50:53 +08:00
|
|
|
#
|
2024-12-29 13:04:17 +01:00
|
|
|
# 0x89
|
2022-09-22 19:23:20 +01:00
|
|
|
name: B_down
|
|
|
|
type: raw
|
|
|
|
frequency: 38000
|
|
|
|
duty_cycle: 0.330000
|
2024-12-29 13:04:17 +01:00
|
|
|
data: 3100 900 2100 900 1100 900 1100 900 1100 900 2100 900 1100 900 1100 900 2100 900 1100 900 2100 900 2100 900 2100 900 1100 900 2100 900 2100 900 1100
|
2024-10-26 22:50:53 +08:00
|
|
|
#
|
2024-12-29 13:04:17 +01:00
|
|
|
# 0x83
|
2022-09-22 19:23:20 +01:00
|
|
|
name: B_sound
|
|
|
|
type: raw
|
|
|
|
frequency: 38000
|
|
|
|
duty_cycle: 0.330000
|
2024-12-29 13:04:17 +01:00
|
|
|
data: 3100 900 2100 900 1100 900 1100 900 1100 900 1100 900 1100 900 2100 900 2100 900 1100 900 2100 900 2100 900 2100 900 2100 900 2100 900 1100 900 1100
|
2024-10-26 22:50:53 +08:00
|
|
|
#
|
2024-12-29 13:04:17 +01:00
|
|
|
# 0x85
|
2022-09-22 19:23:20 +01:00
|
|
|
name: B_light
|
|
|
|
type: raw
|
|
|
|
frequency: 38000
|
|
|
|
duty_cycle: 0.330000
|
2024-12-29 13:04:17 +01:00
|
|
|
data: 3100 900 2100 900 1100 900 1100 900 1100 900 1100 900 2100 900 1100 900 2100 900 1100 900 2100 900 2100 900 2100 900 2100 900 1100 900 2100 900 1100
|