SHARE
TWEET

RaspiRevisionExample

savageautomate Feb 23rd, 2013 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.io.IOException;
  2. import java.text.ParseException;
  3.  
  4. public class RaspiRevisionExample {
  5.    
  6.     public static void main(String[] args) throws InterruptedException, IOException, ParseException {
  7.        
  8.         System.out.println("Board Revision:  " +
  9.                 com.pi4j.system.SystemInfo.getRevision());
  10.     }
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top