Changes between Version 58 and Version 59 of PiBotOsInstallation


Ignore:
Timestamp:
Oct 14, 2016, 10:44:08 PM (9 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PiBotOsInstallation

    v58 v59  
    2121       sudo apt-get upgrade
    2222     }}}
     23* Install some useful packages:
     24     {{{
     25       sudo apt-get install i2c-tools
     26       i2cdetect -y 1
     27     }}}
    2328* Install Oracle Java JDK. Do not use stock OpenJDK, its slower.
    2429     {{{
     
    2631     }}}
    2732  * Then test,  by running {{{java -version}}}.  It should say java 8, not openjdk.
     33
     34To access the I/O capabilities of the Pi (and the PiBot hat), you must install additional libraries; either Oracle's Device I/O (DIO) or Pi4J (which uses WiringPi) or both.  You can read about them [https://dzone.com/refcardz/iot-applications-with-java-and-raspberry-pi here].  Tutorials are [http://www.slideshare.net/javafxpert/raspberry-pi-with-java-8 here] and [https://blogs.oracle.com/javatraining/entry/using_device_i_o_with here]
     35
    2836* Install [http://pi4j.com/ Pi4J]
    2937     {{{
     
    3240     }}}
    3341* Test installation by checking version: {{{pi4j -v}}}
    34 * Install Oracle [https://gautric.github.io/blog/2016/03/09/rhiot-Device-IO-API-i2cdetect-impl.html Device I/O] (DIO) library
     42* Install Oracle [https://gautric.github.io/blog/2016/03/09/rhiot-Device-IO-API-i2cdetect-impl.html Device I/O] (DIO) library.
     43  See usage [http://www.oracle.com/technetwork/articles/java/cruz-gpio-2295970.html here] and [http://www.oracle.com/technetwork/articles/java/cruz-gpio-2295970.html
    3544{{{
    3645  sudo apt-get install mercurial
     
    4150  make
    4251}}}
     52* Test Device I/O following [https://gautric.github.io/blog/2016/03/09/rhiot-Device-IO-API-i2cdetect-impl.html these directions]
    4353
    4454* Install [https://www.nano-editor.org/ Nano] text editor {{{sudo apt-get install nano}}}