With RMT I can receive symbols with level and duration.

I can restore value by some calculations, but it will be better to get proper chunks directly from hardware like this:
Code: Select all
{1 high, 0 low}
{1 high, 0 low}
{1 high, 0 low}
{0 high, 1 low}
{1 high, 0 low}
{0 high, 1 low}
{0 high, 1 low}I thought I could use signal_range_max_ns from rmt_receive_config_t, but no luck:
rmt_receive_config_t::signal_range_max_ns specifies the maximum valid pulse duration in either high or low logic levels. A pulse width that is bigger than this value is treated as Stop Signal, and the receiver generates receive-complete event immediately.
