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
  • PrintPrint
Share this Page URL
Help

1. Project: Drawbot > Program the Robot

Program the Robot

Coding up an Arduino sketch (as Arduino programs are called) can be surprisingly easy. You may not know how to program, or understand the rules most programming languages operate by, but getting to this point may be quicker than you think. We can’t teach you how to program in this book, but we can get you to a place where you can learn for yourself, either by following tutorials or by adapting other hackers’ programs for your own use.

Processing and Arduino

The language and development environment used to program the Arduino board is also called Arduino (Figure 1-63), and it’s inspired by another language called Processing. Casey Reas and Benjamin Fry created Processing in 2001 as a tool to get nonprogrammers such as artists interested in programming. (Processing is based on Java, while Arduino is based on C++; this means that you won’t be able to run most Processing code on Arduino or vice-versa.)


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free 10-Day Trial


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