Cobol: you are old, and a nerd, and probably making some sweet cheddar right now propping up a mid to late 20th century beast somewhere.

Assembly: you are a cyborg.

Assembly: you are a cyborg.

Or programming a tiny microcontroller to blink a led as efficient as possible.

TimeSquirrel
link
fedilink
65d

Something wrong with:

#include <Arduino.h>


void loop()  {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}

? 😂🤮

Obviously the only correct way to blink an LED is to use a hardware timer to trigger a DMA transfer which stores a bit in the pin toggle register at a set interval

yeah! Or or use the interrupt pins and a 555 timer! both options are better than python though at least.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 28 users / day
  • 115 users / week
  • 360 users / month
  • 2.03K users / 6 months
  • 1 subscriber
  • 1.71K Posts
  • 37.3K Comments
  • Modlog