A program designed to run on a Raspberry Pi and manage pressure systems within the accelorator.
Download the ZIP file, or clone repository directly using
git clone https://github.com/joaniedavis/Physics.git
- Open Eclipse
- In the
File
menu selectimport
- Under
General
selectExisting Projects into Workspace
and clickNext
- Select
Clone URI
and clickNext
- Fill in the following
- URI:
https://github.com/joaniedavis/Physics.git
- Host:
github.com
- Repository Path:
/joaniedavis/Physics.git
- URI:
- Set the protocol to
https
- Enter your github username and password and click
Next
- Select which branches you want to fetch and click
Next
- Designate a local Directory path for the project (I recommend putting it with the rest of your workspace)
JavaFX is the library used to create the GUI for this application. It is meant to be more versatile than Swing to both write and style. To install the JavaFX library in Eclipse, follow these steps:
- Open Eclipse and select the
Help
menu - Click
Install New Software
(This is for adding plugins to Eclipse) - Click the
Add
button - For
Name
type"e(fx)clipse
- For
location
typehttp://download.eclipse.org/efxclipse/updates-released/2.4.0/site
and clickOK
- Select both items of JavaFX components to install and click
Next
- Eclipse should restart and be able to run JavaFX
Pi4J is a library needed to interface with the GPIO pins on the Pi. The library can be downloaded here from the Pi4J project. The two packages required from the library are pi4j-core
and pi4j-extension
.
Notes taken during the development of the project that might be usefule can be found here