fossilesque@mander.xyzdeleted by creator to Programmer Humor@lemmy.mlEnglish · 2 years agoNot incorrect.mander.xyzexternal-linkmessage-square81linkfedilinkarrow-up1711arrow-down113
arrow-up1698arrow-down1external-linkNot incorrect.mander.xyzfossilesque@mander.xyzdeleted by creator to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square81linkfedilink
minus-squareTimeSquirrel@kbin.melroy.orglinkfedilinkarrow-up8·2 years agoSomething wrong with: #include <Arduino.h> void loop() { digitalWrite(13, HIGH); delay(1000); digitalWrite(13, LOW); delay(1000); } ? 😂🤮
minus-squareScrath@lemmy.dbzer0.comlinkfedilinkarrow-up12·2 years 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-up3·2 years agoyeah! Or or use the interrupt pins and a 555 timer! both options are better than python though at least.
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.