From 94b31d1f9b815bf65b3d53c31f1d85b4a921fbab Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Tue, 5 Feb 2019 15:52:43 -0800 Subject: [PATCH] Updated NeoPixelBus object API (markdown) --- NeoPixelBus-object-API.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/NeoPixelBus-object-API.md b/NeoPixelBus-object-API.md index 454c59a..8489a61 100644 --- a/NeoPixelBus-object-API.md +++ b/NeoPixelBus-object-API.md @@ -18,7 +18,15 @@ This will define the object with the given Feature and Method, and construct it # Methods ### void Begin() -This will initialize the NeoPixelBus and prepare it for use. Call this first within Setup(). +This will initialize the NeoPixelBus and prepare it for use. Call this first within Setup(). + +### void Begin(int8_t sck, int8_t miso, int8_t mosi, int8_t ss) +This will initialize the NeoPixelBus and prepare it for use. Call this first within Setup(). +This is used with DotStars only using the `DotStartSpiMethod` only. Defining the pins here due to the SPI also needing the pins on its `begin`. +> * _sck_ - The clock output pin to use. +> * _miso_ - required by SPI, but not directly used +> * _mosi_ - The data output pin to use. +> * _ss_ - required by SPI, but not directly used ### void Show() This will try to send the pixel information to the physical pixels. If there has been no change since the last time it was called, nothing will be sent.