pyr0ball / pyr0piezo

An AVR/ARM based piezoelectric sensor for use in ultra-precise applications
https://docs.pyroballpcbs.com/
Other
71 stars 23 forks source link

Eliminate floats for code optimization #31

Closed pyr0ball closed 5 years ago

pyr0ball commented 5 years ago

Eliminating floats from the code will free up roughly 30% of the flash. Currently floats are only used for setting voltage levels. This can be converted to millivolts to eliminate the need for floats.