[solved]Timer functions do not load into IRAM #9568
danieldecesaro
started this conversation in
Question - Community Help
Replies: 2 comments 5 replies
-
Since you only need to check every 250ms, why not just spin a task and void my250task(void *arg){
for(;;){
digitalWrite(4, !digitalRead(4)); //or whatever you want to do
delay(250);
}
} No timers or interrupts needed and the timing will be fairly accurate |
Beta Was this translation helpful? Give feedback.
5 replies
-
Problem solved, I used direct calls to gpio.c functions as advised by @igrr in this issue: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys,
Same image with more time
Below is code for analysis
Beta Was this translation helpful? Give feedback.
All reactions