Update Reference.md

This commit is contained in:
HomeSpan 2021-10-30 17:00:18 -05:00 committed by GitHub
parent 5d92a876ec
commit 2d2262d122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -266,6 +266,8 @@ To invoke this command from the CLI, preface the single-letter name *c* with '@'
To create more than one user-defined command, simply create multiple instances of SpanUserCommand, each with its own single-letter name. Note that re-using the same single-letter name in an instance of SpanUserCommand over-rides any previous instances using that same letter.
## User Macros
### *#define REQUIRED VERSION(major,minor,patch)*
If REQUIRED is defined in the main sketch prior to including the HomeSpan library with `#include "HomeSpan.h"`, HomeSpan will throw a compile-time error unless the version of the library included is equal to, or later than, the version specified using the VERSION macro. Example: