simplefoc / Arduino-FOC

Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
https://docs.simplefoc.com
MIT License
1.94k stars 510 forks source link

Fix bug in ATMega sine computation #373

Closed runger1101001 closed 5 months ago

runger1101001 commented 5 months ago

fix floating point constant incorrectly converted to int

runger1101001 commented 5 months ago

Tested on Arduino Nano (original)