configuration_json
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| configuration_json [ 17.08.2025 05:59] – lars | configuration_json [ 08.10.2025 14:32] (current) – lars | ||
|---|---|---|---|
| Line 40: | Line 40: | ||
| The user shall not be bothered with the details of the used peripheral. The user should therefore not depend on peripheral names (" | The user shall not be bothered with the details of the used peripheral. The user should therefore not depend on peripheral names (" | ||
| + | ===== Types of Settings ===== | ||
| + | |||
| + | Each setting has a type. The following types are allowed: | ||
| + | |||
| + | * string | ||
| + | * enum | ||
| + | * int | ||
| + | * bool | ||
| + | |||
| + | ==== string ==== | ||
| + | |||
| + | The value is a text. | ||
| + | |||
| + | **Example: | ||
| + | |||
| + | ==== enum ==== | ||
| + | |||
| + | The value is one out of a limited number of possible values. | ||
| + | |||
| + | **Example: | ||
| + | |||
| + | ==== int ==== | ||
| + | |||
| + | The value is a number. | ||
| + | |||
| + | **Example: | ||
| + | |||
| + | ==== bool ==== | ||
| + | |||
| + | The value is either " | ||
| + | |||
| + | **Example: | ||
| ===== Example ===== | ===== Example ===== | ||
configuration_json.txt · Last modified: by lars
