diff --git a/docs/Reference.md b/docs/Reference.md index 8d0c9b0..025c11d 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -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: