1020
you are viewing a single comment's thread
view the rest of the comments
[-] Death_Equity@lemmy.world 15 points 8 months ago

All my homies love diagnosing problems by decoding LEDs blinking in code.

[-] collapse_already@lemmy.ml 7 points 8 months ago

I write code for embedded systems that have hard real-time deadlines. Flashing an LED is an inexpensive number of operations compared to most other diagnostic techniques. I can connect an oscilloscope to them to get meaningful accurate time measurements. I am not blinking out Morse code status messages (although I have considered it for some particularly squirrelly problems).

[-] notabot@lemm.ee 5 points 8 months ago

Take to another level by attaching a speaker to a PWM peripheral, now you can debug by ear, whilst driving your colleagues barmy with the beeps. The only tricky bit is working out if it was three beeps and a boop, or two beeps then a beep-boop.

[-] moody@lemmings.world 2 points 8 months ago

More fun to vary the pitch and length of the beep rather than the number of beeps.

this post was submitted on 25 Jun 2024
1020 points (99.5% liked)

People Twitter

5967 readers
1886 users here now

People tweeting stuff. We allow tweets from anyone.

RULES:

  1. Mark NSFW content.
  2. No doxxing people.
  3. Must be a pic of the tweet or similar. No direct links to the tweet.
  4. No bullying or international politcs
  5. Be excellent to each other.
  6. Provide an archived link to the tweet (or similar) being shown if it's a major figure or a politician.

founded 2 years ago
MODERATORS