Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Pic's are microcontrollers, they ... control stuff and are not designed to do much math. If you want to do some serious number crunching you should be looking for a CPU system instead of a µC system
There are floating point libraries available for many micros (dont know about PICs, I prefer AVRs) -- It takes many cycles. You should always evaluate your problem to make sure that floating point is really needed. for instance, converting period to frequency on the surface requires 1/t. However, if you consider that the unit of t is usually ticks, you can work out an integer approximation.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.