fossilesque@mander.xyz to Programmer Humor@lemmy.mlEnglish · 23 hours agoNot incorrect.mander.xyzimagemessage-square52fedilinkarrow-up1560arrow-down112cross-posted to: [email protected]
arrow-up1548arrow-down1imageNot incorrect.mander.xyzfossilesque@mander.xyz to Programmer Humor@lemmy.mlEnglish · 23 hours agomessage-square52fedilinkcross-posted to: [email protected]
minus-squareTimeSquirrel@kbin.melroy.orglinkfedilinkarrow-up18·20 hours agoCobol: 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.
minus-squareanomnom@sh.itjust.workslinkfedilinkEnglisharrow-up6·18 hours ago Assembly: you are a cyborg. Or programming a tiny microcontroller to blink a led as efficient as possible.
minus-squareTimeSquirrel@kbin.melroy.orglinkfedilinkarrow-up4·17 hours agoSomething wrong with: #include <Arduino.h> void loop() { digitalWrite(13, HIGH); delay(1000); digitalWrite(13, LOW); delay(1000); } ? 😂🤮
minus-squareScrath@lemmy.dbzer0.comlinkfedilinkarrow-up7·11 hours agoObviously 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
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.
Or programming a tiny microcontroller to blink a led as efficient as possible.
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