The programming of the Tiva C Launchpad is done using the Energia IDE, which is the customized version of the Arduino IDE. You can download it from http://energia.nu/. As with Arduino, you can choose the serial port of the board and the board name.
![](/api/v2/epubs/9781788627436/files/assets/ebea2b5c-4847-4560-891a-c9a776ec9964.png)
The embedded code is placed in the chapter_9_codes/ chefbot_code/tiva_c_energia_code_final folder. Let's look at some important snippets from the main embedded code.
Here are headers files of the main code. We need to include the following MPU 6050 headers to reading values from it. The MPU6050 library for Energia is also given along with ...