@fossilesque@mander.xyz to Programmer Humor@lemmy.mlEnglish • 21 days agoNot incorrect.mander.xyzimagemessage-square82fedilinkarrow-up1707arrow-down117
arrow-up1690arrow-down1imageNot incorrect.mander.xyz@fossilesque@mander.xyz to Programmer Humor@lemmy.mlEnglish • 21 days agomessage-square82fedilink
minus-squareTimeSquirrellinkfedilink7•20 days agoSomething wrong with: #include <Arduino.h> void loop() { digitalWrite(13, HIGH); delay(1000); digitalWrite(13, LOW); delay(1000); } ? 😂🤮
minus-square@Scrath@lemmy.dbzer0.comlinkfedilink12•20 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-square@anomnom@sh.itjust.workslinkfedilinkEnglish3•20 days 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.