makerbase-mks / MKS-SERVO42B

MKS SERVO42B is 3d printer closed loop stepper motor NEMA17 MKS SERVO42 developed by Makerbase that prevents losing steps. CPU is STM32F103C8T6 ARM 32-bit Cortex™-M3 CPU Core,72 MHz. Magnetic encoder is Allegro's A1333LLETR-T Contactless 0° to 360° angle sensor IC ,12bit .This Project open source hardware and code,support platformio build and upload firmware...
https://www.aliexpress.com/item/33032696338.html?spm=a2g0o.store_home.productList_8356958.pic_1
GNU General Public License v3.0
170 stars 70 forks source link

Error displaying small errors. #5

Closed lonelymyp closed 4 years ago

lonelymyp commented 4 years ago

If the error in the negative direction is less than 1 degree, the minus sign is not displayed

Example: 0.97 err 0.98 err 0.99 err -1.00 err -1.01 err -1.02 err

How it should be: -0.97 err -0.98 err -0.99 err -1.00 err -1.01 err -1.02 err

makerbase-mks commented 4 years ago

After this issue needs to be verified, we fix it. Of course, you can also modify the code according to your ideas, optimize together.

makerbase-mks commented 4 years ago

Hi! I has fix it. You can refer to new firmware and update it to servo42b.