Erlang code to generate a PT2262 encoded signal/wait pattern ready for pie:gpio_write/2