-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I want a LED to turn on for 10ms every time when I call this function:
volatile void ledA1Pulse(int ms)
{ ledA1.turnON();
ledA1.turnOFF(ms);
}
volatile ezLED ledA1(testPinA1);
loop()
{ ledA1.loop();
}
It works fine without using a ISR.
But not if the function is in an ISR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels