digitalWriteFast icon indicating copy to clipboard operation
digitalWriteFast copied to clipboard

digitalWriteFast does not appear to work on AVR4809

Open paulskirk53 opened this issue 1 year ago • 5 comments

I included the library :

#include <digitalWriteFast.h>

The code snippet below toggles a Led:

void lightup()
{
  for (int i = 0; i < 10; i++)
  {
    digitalWrite(ledpin, HIGH);
    delay(500);
    digitalWrite(ledpin, LOW);
    delay(500);
  }

But the code below does not

void lightup()
{
  for (int i = 0; i < 10; i++)
  {
    digitalWriteFast(ledpin, HIGH);
    delay(500);
    digitalWriteFast(ledpin, LOW);
    delay(500);
  }

Perhaps I missed something?

paulskirk53 avatar Aug 14 '23 11:08 paulskirk53