fossilesque@mander.xyz to Programmer Humor@lemmy.mlEnglish · 3 days agoNot incorrect.mander.xyzimagemessage-square74fedilinkarrow-up1686arrow-down114cross-posted to: programmer_humor@programming.dev
arrow-up1672arrow-down1imageNot incorrect.mander.xyzfossilesque@mander.xyz to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square74fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareTimeSquirrel@kbin.melroy.orglinkfedilinkarrow-up25·3 days 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-up10·3 days ago Assembly: you are a cyborg. Or programming a tiny microcontroller to blink a led as efficient as possible.
minus-squareTimeSquirrel@kbin.melroy.orglinkfedilinkarrow-up6·3 days agoSomething wrong with: #include <Arduino.h> void loop() { digitalWrite(13, HIGH); delay(1000); digitalWrite(13, LOW); delay(1000); } ? 😂🤮
minus-squareScrath@lemmy.dbzer0.comlinkfedilinkarrow-up11·3 days 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
minus-squareanomnom@sh.itjust.workslinkfedilinkEnglisharrow-up2·2 days agoyeah! Or or use the interrupt pins and a 555 timer! both options are better than python though at least.
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
yeah! Or or use the interrupt pins and a 555 timer! both options are better than python though at least.