Tim 🎮<p>Hey, <a href="https://digipres.club/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://digipres.club/tags/electronics" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>electronics</span></a> <a href="https://digipres.club/tags/arduino" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>arduino</span></a> <a href="https://digipres.club/tags/microcontroller" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>microcontroller</span></a> folks. Say I have a device like a joystick which generates its own data and clock signals, and I want a Pi Pico 2 to capture inputs from it.</p><p>What should the flow of that program look like? Do I just capture 2x the length of a full packet, find the single whole packet in it, read that and move on? How would you go about detecting and reading every individual packet?</p><p>Boosts and all comments welcome.</p>