Search found 3 matches
- Tue Mar 05, 2019 10:10 pm
- Forum: ESP-IDF
- Topic: ISR counter value doesn't seem to have an effect
- Replies: 4
- Views: 4683
Re: ISR counter value doesn't seem to have an effect
Thank you so much! Feeling stupid for not getting the concept of alarm_value, although it was so simple (in case anyone else struggles: The counter counts down until passing alarm_value, so in my case I want to count from alarm_ticks to 0, not alarm_ticks to alarm_ticks). Leaving aside that I couldn...
- Sun Mar 03, 2019 12:10 pm
- Forum: ESP-IDF
- Topic: ISR counter value doesn't seem to have an effect
- Replies: 4
- Views: 4683
Re: ISR counter value doesn't seem to have an effect
Thank your for your answer! Would you mind to explain how I can do any of that? I tried to define isr_param right under beneath the struct definition (instead of inside the main function), both with and without a static keyword. It never had an effect on the result. I also don't see the problem with...
- Fri Mar 01, 2019 10:03 pm
- Forum: ESP-IDF
- Topic: ISR counter value doesn't seem to have an effect
- Replies: 4
- Views: 4683
ISR counter value doesn't seem to have an effect
Hello everyone, I am trying to fade an LED physically linear, means I increase the duty cycles exponential to make it look for the human eye as if the LED's brightness is growing linear. This (and some others) are the reasons why I don't use the delivered hardware timer for automatic fades (which fa...