From 2d2262d1220e8274589af2ddde23ad13515231b4 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Sat, 30 Oct 2021 17:00:18 -0500 Subject: [PATCH] Update Reference.md --- docs/Reference.md | 2 ++ 1 file changed, 2 insertions(+) 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: