Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino Robotic Projects

You're reading from   Arduino Robotic Projects Build awesome and complex robots with the power of Arduino.

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher
ISBN-13 9781783989829
Length 240 pages
Edition Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Richard Grimmett Richard Grimmett
Author Profile Icon Richard Grimmett
Richard Grimmett
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Arduino Robotic Projects
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Powering on Arduino FREE CHAPTER 2. Getting Started with the Arduino IDE 3. Simple Programming Concepts Using the Arduino IDE 4. Accessing the GPIO Pins 5. Working with Displays 6. Controlling DC Motors 7. Controlling Servos with Arduino 8. Avoiding Obstacles Using Sensors 9. Even More Useful Sensors 10. Going Truly Mobile – the Remote Control of Your Robot 11. Using a GPS Device with Arduino 12. Taking Your Robot to Sea 13. Robots That Can Fly 14. Small Projects with Arduino Index

Enabling the SPI display in the IDE


Just as in the case of SerialLCD, you'll need to add the supporting code library for your device. For this device, the library is found at http://www.sainsmart.com/sainsmart-1-8-spi-lcd-module-with-microsd-led-backlight-for-arduino-mega-atmel-atmega.html. In order to do so, perform the following steps:

  1. Go to the site and then click on the Download link. This will download the TFT18.rar file. Use an archive tool such as 7-Zip to unpack this file to the libraries directory.

  2. Now the library will be available for use. You will need to make one change. Go to the library directory where you installed TFT18 and look for a file called ST7735.h, as shown in the following screenshot:

  3. You're going to edit the ST7735.h file. You can do that in Notepad if you are working on a Windows system. You are going to change one line, as follows:

  4. You are going to comment out the line that reads #include <WProgram.h> using two // characters. Then, you will add the #include...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime