cnlohr / nosdk8266

Trying to make ESP8266 projects without a big SDK.
MIT License
260 stars 42 forks source link

Fix delay for all frequencies #13

Closed 0z4 closed 2 years ago

0z4 commented 2 years ago

After several experiments I found that 8 is the magic number, dividing any frequency from 52MHz to 346MHz the delay will be almost perfect (I would need to tune it more but I still don't know how to use floats here, i try set -enable-newlib-nano-formatted-io but that generates an error)

cnlohr commented 2 years ago

HOLY COW I MISSED THIS.

cnlohr commented 2 years ago

Are you in my discord? If not join it. WE WANT TO TALK TO YOU!