Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

3.1. An Arduino on Your iPad

We’re going to go ahead and build a simple application for the iPad that will let you pull an arbitrary pin on the Arduino HIGH or set it LOW. While we’ll be building the application for the iPad, because I want to take advantage of all that screen real estate, the code will run just fine on the iPhone (or the iPod touch) if you want to build it as an application for the iPhone without any modification.

Open Xcode, choose to create a new project, select a View-based application for the iPad device family, and when prompted name it “Paduino” and save it to the Desktop. When the project opens, deselect Landscape Left and Landscape Right as supported orientations. We’re going to be working in portrait mode.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint