Skip to Main Content
Hands-On Robotics Programming with C++
book

Hands-On Robotics Programming with C++

by Dinesh Tavasalkar
March 2019
Intermediate to advanced content levelIntermediate to advanced
312 pages
7h 37m
English
Packt Publishing
Content preview from Hands-On Robotics Programming with C++

Programming the LCD with the I2C LCD module

Before writing the program, we first need to enable the I2C protocol from the Raspberry Pi configuration. To do this, open the command window and type in the following command:

sudo raspi-config

Inside configurations, open Interfacing Options, shown as follows:

Next, open the I2C option, as shown in the following screenshot:

Select the Yes option and press Enter to enable I2C, as follows:

After enabling ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Robotics Programming

Learn Robotics Programming

Danny Staple
C++ Reactive Programming

C++ Reactive Programming

Praseed Pai, Peter Abraham
Hands-On ROS for Robotics Programming

Hands-On ROS for Robotics Programming

Bernardo Ronquillo Japón

Publisher Resources

ISBN: 9781789139006Supplemental Content