Pi:
- 3.14...
- Raspberry Pi
A Raspberry Pi can light up an LED if you follow these steps:
== Raspberry Pi ==
https://github.com/Pi4J/pi4j/issues/319
https://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html
https://www.youtube.com/watch?v=NZB3Iy7Lve4
* https://www.youtube.com/results?search_query=java+1.8+for+raspbian - "java 1.8 for raspbian - YouTube"
* https://www.youtube.com/watch?v=29va8L2LMfI - "LEDs on Raspberry Pi GPIO with Java Pi4J - Start to Finish - YouTube"
* https://www.youtube.com/watch?v=VBkjXV1aSRA - "Installing Jetbrains Intellij IDEA on Ubuntu and Creating First Hello World - YouTube"
* https://www.youtube.com/results?search_query=java+make+a+maven+project - "java make a maven project - YouTube"
mvn package
java -jar target/....jar
go to http://169.254.123.38:9898/light
sudo -i && cd /home/pi/Downloads/idea-IC-171.4424.56/bin && ./idea.sh
Multimeter: yellow button is for testing diodes
Diodes only conduct in on direction
The yellow symbol near the button:
The base of the triangle is the anode end
and the vertical line at the right is the cathode end.
{{cite book
|url = Programming the Raspberry Pi: Getting Started with Python
|edition = Second Edition
|isbn = 978-1-25-958740-5
|chapter = 9: Interfacing Hardware
|pages=115 to 119 and on
}}
sudo -i
sudo apt-get install p7zip
sudo apt-get install p7zip-full
wget https://download.jetbrains.com/idea/ideaIC-2017.1.3.dmg
https://www.raspberrypi.org/downloads/raspbian/
https://www.raspberrypi.org/downloads/noobs/
https://askubuntu.com/questions/103554/how-to-reset-ubuntu-to-act-as-at-the-first-start
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html - "Java SE Development Kit 8 - Downloads"
.
..
000.txt
.0.txt
apache-maven-3.5.0
apache-maven-3.5.0-bin.tar.gz
idea-IC-171.4424.56
ideaIC-2017.1.3.tar.gz
jdk1.8.0_131
jdk-8u131-linux-arm32-vfp-hflt.tar.gz
jre-8u131-linux-i586.tar.gz
NOOBS_v2_4_0.zip
----
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/P0M/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>
<groupId>thankszonk</groupId>
<artifactId>javapi4led</artifactId>
<version>1.0-SNAPSHOT</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.2.4.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.pi4j</groupId>
<artifactId>pi4j-core</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-piugin</artifactId>
</plugin>
</plugins>
</build>
</project>