Skip to content

Sync with master#18

Open
antonvh wants to merge 27 commits intofrozen-modules-esp32from
master
Open

Sync with master#18
antonvh wants to merge 27 commits intofrozen-modules-esp32from
master

Conversation

@antonvh
Copy link
Collaborator

@antonvh antonvh commented Apr 19, 2025

No description provided.

antonvh and others added 27 commits July 2, 2024 17:06
Fix possible division by zero in interpolation function
for a servo with min_pulse=500, max_pulse=2500, min_angle=0, max_angle=360 the resolution was only 3-4°

angle pulse duty duty_u16
   0   500   26   1638
   1   505   26   1656
   2   511   26   1674
   3   516   26   1693
   4   522   27   1711
   5   527   27   1729
   6   533   27   1747
   7   538   28   1765
   8   544   28   1784
   9   550   28   1802
  10   555   28   1820
  11   561   29   1838
increase servo resolution with duty_u16. (2^16/20000 = 3.2768)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants