-
Notifications
You must be signed in to change notification settings - Fork 1
2. Installation
Janata Lab edited this page Nov 15, 2023
·
4 revisions
- Download the Arduino IDE from https://www.arduino.cc/en/software.
- Create an Arduino directory that will contain the libraries directory.
- Launch Arduino
- Tools->Manage Libraries...
- Install the EnableInterrupt library
- Install WaveHC and its dependencies (NOTE: WaveHC 1.0.3 does not work. The maximum compatible version of WaveHC is 1.0.1)
- Clone the git repo into a desired location:
git clone [email protected]:janatalab/GEM.git
. If you are unfamiliar with the process of cloning, visit our cloning GEM for beginners page, then return back here. - If necessary, install Python3.
- Create a virtualenv: `python3 -m venv <path_to_virtualenv>
- Activate the virtualenv:
source <path_to_virtualenv>/bin/activate
orsource <path_to_virtualenv>/bin/activate.csh
- Navigate to the GUI folder in the git repo, e.g.
cd git/GEM/GUI
- Install the Python requirements:
pip install -r requirements.txt
- From within the Arduino/libraries directory, create a symbolic link (alias) to the GEM library, e.g.
ln -s ~/git/GEM/GEM
Proceed to the Compiling, Loading, and Running Sketches page.
- Download Julia from https://julialang.org/downloads/
- Invoke Julia in one of several ways, as described here: https://en.wikibooks.org/wiki/Introducing_Julia/Getting_started
- Install the required JSON package:
import Pkg; Pkg.add("JSON")
NOTE: The original version of Julia was 0.6. As of Julia 1.0, the file reading function read() appears to have changed, necessitating some changes to GEMDataReader.jl