Glad to hear you got it working.
It's worth getting a low cost logic analyser.
You can get them from around 10 £/$/€. They use the free PulseView software.
Here's how it records your code:
You can see the pulses on pins 2 and 3, and use cursors to measure their frequency.
Pin 1 has the serial output on it. You can zoom in to see how it is decoded:


