Jump to content
Sign in to follow this  

double vs float in TM4C123

Recommended Posts

Hello All,


I made a PID controller, using a TivaC board and VNH2SP motor driver and encoder motors, which are read by the hardware QEI. All works well, and I have been able to get more resolution and run it faster and with smoother output compared to my previous implementations on arduino. Also, because of the QEI, it is much less components and wiring on the circuit side.


Right now I am using double for PID calculations. Would I benefit from using float ? I am inclined to give it a try, but I wanted to ask in this forum. How is double and float handled in TM4C123 platform.


Best Regards,



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...