MarauderIIC@dormi.zonetoLinux@lemmy.ml•Tell me about glue please: How do you connect a microcontroller that conditionally executes code in different languages over USB serial on a typical desktop distro?
5·
5 months agoYup, pretty much this. I have a small touchscreen Arduino device that I keep plugged into my PC. When I hit a button on the touchscreen it sends some text over serial (which is really a USB wire). I have a Python script on the PC that continuously reads from the serial port and parses the received data to figure out what to do. Specifically it tells my Discord bot to play a sound :)
Same - my butt is cleaner but it’s not worth the hassle of it being wet now. The dryer on mine isn’t any good.
Wiggle around a bit to get cleaner. But I’m not a fan of ours.