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

Simple Sensor Network with Pachube > Program the Base Station

Program the Base Station

The simple sensor network Pachube base station uses the Processing program below. Download the ZIP file of all the libraries and resources from this book’s website (see the Preface for more information). Inside the Processing sketch folder for the Simple Sensor Network are two subdirectories called code and data (see Figure 8-7). The code folder contains the log4j.jar and xbee-api-0.5.5.jar library files, just like in Chapter 5. There’s also a new library here called JPachube that handles connections with Pachube. The JPachube library is available at http://code.google.com/p/jpachube/, where you can check for the latest version if necessary. The data folder still holds the log4j.properties file, required by log4j.jar, and the font file for the sans serif 10-point font used for screen display.


  

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