From 8be3b7ab6cd5323df942a35d89f88f79528d5b58 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Thu, 1 Jun 2023 06:19:25 -0500 Subject: [PATCH] Update Stepper.md --- docs/Stepper.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/Stepper.md b/docs/Stepper.md index 00ecc0f..dbe73ff 100644 --- a/docs/Stepper.md +++ b/docs/Stepper.md @@ -1,9 +1,16 @@ -# Remote Control Radio Frequency / Infrared Signal Generation +# Stepper Motor Control The ESP32 has an on-chip signal-generator peripheral designed to drive an RF or IR transmitter. HomeSpan includes an easy-to-use library that interfaces with this peripheral so that with a few additional electronic components you can create a HomeSpan device that controls an RF or IR appliance directly from the Home App on your iPhone, or via Siri. The library is accessed by placing the following near the top of your sketch: `#include "extras/RFControl.h"` + + + + +.... + + ## *RFControl(int pin, boolean refClock=true)* Creating an instance of this **class** initializes the RF/IR signal generator and specifies the ESP32 *pin* to output the signal. You may create more than one instance of this class if driving more than one RF/IR transmitter (each connected to different *pin*), subject to the following limitations: ESP32 - 8 instances; ESP32-S2 and ESP32-S3 - 4 instances; ESP32-C3 - 2 instances. The optional parameter *refClock* is more fully described further below under the `start()` method.