Search found 3 matches

by lesyeux
Mon Jul 03, 2023 4:54 am
Forum: General Discussion
Topic: Sofware interrupt
Replies: 4
Views: 2247

Re: Sofware interrupt


The use of printf() in interrupt routines is something best avoided.
(since printf() may be a macro, a function, or something else that disables interrupts)

If you want to "printf()" something, then sprintf() to a (global) buffer first, and then printf the buffer somewhere outside of the ...
by lesyeux
Tue Jun 27, 2023 2:45 am
Forum: General Discussion
Topic: Sofware interrupt
Replies: 4
Views: 2247

Re: Sofware interrupt

What problem are you trying to solve here? Why do you think you need a software interrupt? This feels like an X-Y problem to me, to be honest.
I didn't solve any problem. I am learning so I go through the technical manual and wanna try as much feature as I can
by lesyeux
Fri Jun 23, 2023 2:30 pm
Forum: General Discussion
Topic: Sofware interrupt
Replies: 4
Views: 2247

Sofware interrupt

Hello, I am new to ESP32-C3 and try to find example using ESP-IDF to generate software interrupt in ESP32-C3 but I cant find anywhere. So I am trying to make a very simple example problem: Print "Hello" to screen using software interrupt (generated every second).
However, my code is not work. Can ...

Go to advanced search