jasonm 0 Posted April 9, 2015 Share Posted April 9, 2015 how do i add math.h (the arduino library) to energia? or is there an equivalent library i can use that includes math functions. And where could i find either of those. thank you Quote Link to post Share on other sites
abecedarian 330 Posted April 9, 2015 Share Posted April 9, 2015 Umm... near the top of the sketch... #include <math.h>? Quote Link to post Share on other sites
spirilis 1,265 Posted April 9, 2015 Share Posted April 9, 2015 A lot of the math functions on msp430 are only available in the "float" variant, e.g. powf() instead of pow(). Sent from my Galaxy Note II with Tapatalk 4 Quote Link to post Share on other sites
chicken 630 Posted April 9, 2015 Share Posted April 9, 2015 Make sure you actually select Tiva as target board. wrong thread.. (you guys just start too many ) Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.