User Tools

Site Tools


getting_the_wiring_right

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
getting_the_wiring_right [2022/08/01 23:10] frchrisgetting_the_wiring_right [2022/08/03 11:24] frchris
Line 1: Line 1:
 +
 +====== Getting the Wiring Right ======
 +
 In 2018 the Preinstalled BlueJ IDE, the Pi4J library that was in the directory ''/usr/share/bluej/userlib/''  did not recognize my new pi 3 B+. After [[http://wiringpi.com/wiringpi-updated-for-the-pi-v3plus/|installing the latest WiringPi]] and [[http://pi4j.com/install.html|intalling the latest Pi4J]],  In 2018 the Preinstalled BlueJ IDE, the Pi4J library that was in the directory ''/usr/share/bluej/userlib/''  did not recognize my new pi 3 B+. After [[http://wiringpi.com/wiringpi-updated-for-the-pi-v3plus/|installing the latest WiringPi]] and [[http://pi4j.com/install.html|intalling the latest Pi4J]], 
 I still had to I still had to
Line 44: Line 47:
 The kit I bought from CanaKit had wriiten the BCM numbers, but I needed to program with the wPi numbers. The kit I bought from CanaKit had wriiten the BCM numbers, but I needed to program with the wPi numbers.
  
-In 2020 v.was ready.  Go to [[https://pi4j.com/architecture/about-the-code/download/]].  To get the new code, go to [[https://github.com/Pi4J/pi4j-v2|github/pi4j-v2]]. +In 2022 I got a Raspberry Pi4 400Unfortunately, it was so new, the old gpio -v gave me the message "Oops unable to determine board type... model19"
- +
-In 2021 v.1.4 became the last update of [[https://github.com/Pi4J/.github/tree/main/profile|v.1]] +
  
-[[http://wiringpi.com/wiringpi-updated-for-the-pi-v3plus/|wiringPi 2.36 for the Pi v3+]]+I found some help at [[https://pi4j.com/1.4/install.html]].  I followed the "Easy Method" which produced the {{ ::pi4j-core.jar}} file that I needed.  In order for BlueJ to find it, I copied it over to the proper directory:
  
-[[http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/| wiring 2.52 for 4B]]+<code>sudo cp /opt/pi4j/lib/*.jar /usr/share/bluej/userlib/</code>
  
-<code>apt install wiringpi</code>+[[https://pi4j.com/1.3/pins/rpi-400.html| GPIO pins on the 400]]
  
-<code>curl -sSL https://pi4j.com/install | sudo bash </code> 
  
-check with the command lin  
-<code> gpio -v </code> 
getting_the_wiring_right.txt · Last modified: 2022/08/03 11:25 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki