Skip to content

GUIslice Config Location

Calvin Hass edited this page Jan 10, 2019 · 3 revisions

Locating GUIslice_config.h

GUIslice expects to read configuration settings from the following location: GUIslice/src/GUIslice_config.h

The developers of the Arduino IDE aimed to make it as easy as possible for beginners, but the downside is that advanced libraries such as GUIslice require an extra step in order to override a library's configuration defaults.

Locate the GUIslice library within the Arduino libraries folder. The libraries folder is located within the Arduino IDE sketchbook directory. To find your sketchbook directory, select File → Preferences in the Arduino IDE and look for the "Sketchbook location" (eg. C:\Users\<username>\Documents\Arduino). The libraries folder will be a folder with the same name inside the Sketchbook folder.

  • image
  • Typically the libraries folder would therefore be:
  • C:\Users\<username>\Documents\Arduino\libraries (for Windows)

Within the Arduino libraries folder, you should find the GUIslice library that you installed earlier. It will either be named GUIslice or GUIslice-master, depending on whether you used the Arduino IDE Library Manager or manually downloaded the latest version from GitHub.

The configuration file (GUIslice_config.h) is located within the \src folder within the GUIslice library folder. It is important to confirm that you can locate this file so that modifications can be made later. For example, the full path to this config file may be:

  • C:\Users\<username>\Documents\Arduino\libraries\GUIslice-master\src\GUIslice_config.h

It is recommended to make a backup copy of your original configuration files before making changes (although one can always download a new copy from the repository later if needed).

Note that GUIslice_config.h is configured by the user to load a specific example config file or user config file (from \configs) by uncommenting a single line.

Clone this wiki locally