vdeschwb / esp32-signal-generator

Open-Source Signal Generator using the ESP32 uC
MIT License
121 stars 31 forks source link

Is possible to add a second square wave? #20

Closed sebosfato closed 10 months ago

sebosfato commented 10 months ago

I found very interesting your code…

im trying to apply it to a simple project here as a frequency generator… but im not getting it to work if the resolution is bellow 10…

when it gets from your comand works

  if (server->argName(i) == "resolution") { resolution = (ledc_timer_bit_t)atoi(server->arg(i).c_str()); continue; }

but if try to hard set ledc_timer_bit_t resolution = (ledc_timer_bit_t)1; it dont… only after 10.. but it limit the frequency output…

Can you please help me?

thanks a lot for your work is wonderfully precise!

sebosfato commented 10 months ago

I found the issue… it was indeed working but i needed to reduce the duty accordingly with bits;;;