urbanists.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a server for people who like bikes, transit, and walkable cities. Let's get to know each other!

Server stats:

577
active users

#programming

434 posts318 participants31 posts today

Hey, #programming #electronics #arduino #microcontroller 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.

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?

Boosts and all comments welcome.

Replied in thread

System Administration

Week 9, Writing System Tools

This week we're going on a side-quest to discover solid #programming best practices that apply across simple scripting, prototyping, growing your tools, and owning a software product. We don't have videos for this topic, but the slides below include a lot of hopefully useful links ranging from coding style to ticket management and commit messages.

stevens.netmeister.org/615/09-