Next: , Previous: , Up: Introduction   [Contents][Index]


1 Installing and loading

The Arduino toolkit must be installed and then loaded to be used.

It can be installed in GNU Octave directly from octave-forge, or can be installed in an off-line mode via a downloaded tarball.

NOTE

The toolkit requires the Arduino IDE in order to program Arduino devices.

NOTE

The toolkit has a dependency on the instrument-control package, so it must be installed in order to successfully install the Arduino toolkit

The toolkit must be then be loaded once per each GNU Octave session in order to use its functionality.

1.1 Online Direct install

With an internet connection available, the Arduino package can be installed from octave-forge using the following command within GNU Octave:

pkg install -forge arduino

The latest released version of the toolkit will be downloaded and installed.

1.2 Off-line install

With the arduino toolkit package already downloaded, and in the current directory when running GNU Octave, the package can be installed using the following command within GNU Octave:

pkg install arduino-0.10.0.tar.gz

1.3 Loading

Regardless of the method of installing the Arduino toolkit, in order to use its functions, the toolkit must be loaded using the pkg load command:

pkg load arduino

The toolkit must be loaded on each GNU Octave session.


Next: Hardware setup, Previous: Introduction, Up: Introduction   [Contents][Index]