• anomnom@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 days ago

    Assembly: you are a cyborg.

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

      • Scrath@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        12
        ·
        9 days ago

        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

        • anomnom@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          8 days ago

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