Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 628 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 628 Bytes

raspberry_LED

This is a sample application for the Raspberry Pi to teach Java with LEDs.

Execute in Terminal as follows:

  1. javac -cp "lib/*" -d gen in/sse/led/MainLED.java
  2. sudo java -cp "./gen:lib/*" in.sse.led.MainLED

Use Geany's build function "Build->Set Build Commands"

"Java Commands"
"Command" javac -cp "lib/*" -d gen in/sse/led/MainLED.java
"Working directory" YOUR_ROOT_PATH (e.g. /home/pi/Documents/Dev/raspberry_LED)

"Java Commands"
"Command" sudo java -cp "./gen:lib/*" in.sse.led.MainLED
"Working directory" YOUR_ROOT_PATH (e.g. /home/pi/Documents/Dev/raspberry_LED)