andreisperid / E-TKT

open source embossed label maker
https://andreisperid.github.io/E-TKT/
MIT License
398 stars 19 forks source link

Implement LEDs using ledc method #49

Open andreisperid opened 1 year ago

andreisperid commented 1 year ago

As commented, currently the LEDs (ledChar and ledFinish) are using analogWrite, which are by convenience supplied by the ESP32Servo library. This might be bad for modularity in case another library is used, or any changes in the architecture are made.

And, maybe there are other opportunities by using this official method.