Search found 3 matches

by doomslayer666
Thu Jun 25, 2020 4:49 pm
Forum: Hardware
Topic: ESP32 timers vs AVR timers
Replies: 6
Views: 10465

Re: ESP32 timers vs AVR timers

Timers aren't used for signal generation on ESP32. Use the LEDC , MCPWM or RMT units instead. Thank you for your response! I have been trying to use the LEDC units, however I am failing horribly. I am not even able to configure the timer. I took a look at the LEDC example, however it won't compile....
by doomslayer666
Sat Apr 04, 2020 8:01 am
Forum: Hardware
Topic: ESP32 timers vs AVR timers
Replies: 6
Views: 10465

Re: ESP32 timers vs AVR timers

I am still struggling with this. If what I'm asking for is not that simple, I would also highly appreciate any resources that explain timer manipulation in a more approachable way than the ESP32 documentation.
by doomslayer666
Sun Mar 15, 2020 11:34 am
Forum: Hardware
Topic: ESP32 timers vs AVR timers
Replies: 6
Views: 10465

ESP32 timers vs AVR timers

Hi, I am trying to port a few lines of code written for an Arduino Uno over to an ESP32. This is the original code (found here https://github.com/madlabdk/touche/blob/master/arduino/touche_graph/touche_graph.ino): #define steps 128 void setup () { pinMode (9, OUTPUT); TCCR1A = 0; TCCR1B = 0; TCCR1A ...