Tue Sep 22 12:28:42 EST 2020

Date Created: 2013-12-09 06:18:24 -0600 (Mon, 09 Dec 2013)

Pi4J - Verify the Hardware is Properly Wired

Intall Pi4Java

    mkdir roller/
    cd roller/

    wget http://pi4j.googlecode.com/files/pi4j-0.0.5.deb

    sudo dpkg -i pi4j-0.0.5.deb                    

Running the Hookup Tests

    sudo java -classpath /opt/pi4j/lib/pi4j-core.jar:onebeartoe-roller-1.0-SNAPSHOT-jar-with-dependencies.jar org.onebeartoe.roller.test.RollerTest

Expected Results

If the battery, motors, motor shield, and Raspberry Pi wiring is correct, then the two front motors run for a couple of seconds, then the two back motors run for two seconds, as expected results of the RollerTest program.

Date Created: 2014-09-10 17:12:59 -0500 (Wed, 10 Sep 2014)