Dylan 0 Posted March 15, 2017 Share Posted March 15, 2017 Hello, I am hoping to convert Example 09 of the Energia examples (thermistor temperature with the MSP430F5529) to entirely C language to use in Code Composer Studio - I've already used the import function to use this example in CCS and it works fine with the code given, but I'd like to re-work the example to only use C functions like main().c. Is there a simple way to do this? I'm still learning C and need the experience! Example 09 is attached for reference.EXAMPLE09_Temperature.ino Quote Link to post Share on other sites
energia 485 Posted March 15, 2017 Share Posted March 15, 2017 For the analogRead() part I would take a look at wiring_analog.c which is the place where analogRead() is implemented. For the Serial printing portion, I would suggest to take a look at one of the driverlib examples: http://dev.ti.com/tirex/#/?link=Software%2FMSP430Ware%2FLibraries%2FDriver Library%2FMSP430F5xx_6xx%2FExample Projects%2FUSCI_A_UART 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.