Compile Arduino Firmwares#

Some of the instruments include an Arduino firmware that requires to be compiled and uploaded on the Arduino controller.

To compile the firmware, one should download the Arduino package.

Then, two options are available: the Arduino IDE and the Arduino command line interface.

Installation through Arduino IDE#

First, install the additional required library Vrekrer_scpi_parser (version 0.5.0). To do so, go to Tools -> Manage Libraries. Search Vrekrer_scpi_parser, select the right version, and install it.

Then, upload the firmware using the dedicated upload button.

Installation through Command Line#

First, download the arduino CLI tool from the official website.

Then download the additional required library Vrekrer_scpi_parser (version 0.5.0):

arduino-cli lib vrekrer_scpi_parser@0.5.0

Then compile and upload the firmware:

arduino --upload [sketch.ino]