Programming the Tiva C Launchpad

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.

Figure 17: Energia IDE

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 ...

Get ROS Programming: Building Powerful Robots now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.