Documentation

This commit is contained in:
2023-06-14 09:05:37 -07:00
parent 24b221bf42
commit aa02b35cc5
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,12 @@
# This file defines all constants daisy knows about.
# Each is an entry in the `constant` array.
#
# Parameters:
# enum_name: capitalized string. Name of this constant's enum.
# strings: string or string array. What strings will be parsed as this constant.
# The first entry in this array tells daisy how to print this constant.
# value: value of this constant. Will be evaluated just like user input.
# unit: true if this constant represents a "fake unit"
[[constant]]
enum_name = "Pi"

View File

@ -1,5 +1,6 @@
# This file defines all units daisy knows about.
# Each unit is an entry in the `unit` array.
# Some "units" are constants (mph, for example). They are defined in the "constants" file.
#
#
# Basic properties: