KittyHawk 4 Posted February 21, 2015 Share Posted February 21, 2015 Library for MSP430 internal temperature sensor usage. This sensor is not very precise but can be used if necessary.You can access source code and see example file here:https://github.com/JFF-Bohdan/msp430intertempsensorNotice, that you can use float values for temperature or int16 (also with decimal part of temperature value). When using int16 temperature will be returned in this way: 23.5 C will be returned as 235 (0xEB) integer value; 54.3 C will be returned as 543 (0x21F) integer value When using float values (on my MSP430G2553) memory usage will be like this:binary sketch size: 7 625 bytes (of a 16 384 byte maximum)When using int16 memory usage will be:binary sketch size: 3 359 bytes (of a 16 384 byte maximum) OzGrant and bluehash 2 Quote 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.