2023-04-09 10:02:49 -07:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
NeoMethods includes all the classes that describe pulse/data sending methods using
|
|
|
|
|
bitbang, SPI, or other platform specific hardware peripherl support.
|
|
|
|
|
|
|
|
|
|
Written by Michael C. Miller.
|
|
|
|
|
|
|
|
|
|
I invest time and resources providing this open source code,
|
|
|
|
|
please support me by dontating (see https://github.com/Makuna/NeoPixelBus)
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------
|
|
|
|
|
This file is part of the Makuna/NeoPixelBus library.
|
|
|
|
|
|
|
|
|
|
NeoPixelBus is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU Lesser General Public License as
|
|
|
|
|
published by the Free Software Foundation, either version 3 of
|
|
|
|
|
the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
NeoPixelBus is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU Lesser General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
License along with NeoPixel. If not, see
|
|
|
|
|
<http://www.gnu.org/licenses/>.
|
|
|
|
|
-------------------------------------------------------------------------*/
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
// Generic Two Wire (clk and data) methods
|
|
|
|
|
//
|
|
|
|
|
#include "methods/DotStarGenericMethod.h"
|
|
|
|
|
#include "methods/Lpd8806GenericMethod.h"
|
|
|
|
|
#include "methods/Lpd6803GenericMethod.h"
|
|
|
|
|
#include "methods/Ws2801GenericMethod.h"
|
|
|
|
|
#include "methods/P9813GenericMethod.h"
|
|
|
|
|
#include "methods/Tlc5947GenericMethod.h"
|
2024-03-16 11:21:56 -07:00
|
|
|
#include "methods/Tlc59711GenericMethod.h"
|
2023-04-09 10:02:49 -07:00
|
|
|
#include "methods/Sm16716GenericMethod.h"
|
2023-06-19 10:01:55 -07:00
|
|
|
#include "methods/Mbi6033GenericMethod.h"
|
2024-04-23 08:44:56 -07:00
|
|
|
#include "methods/Hd108GenericMethod.h"
|
2023-04-09 10:02:49 -07:00
|
|
|
|
2023-12-13 17:33:42 -07:00
|
|
|
//Adafruit Pixie via UART, not platform specific
|
|
|
|
|
//
|
|
|
|
|
#include "methods/PixieStreamMethod.h"
|
|
|
|
|
|
2023-04-09 10:02:49 -07:00
|
|
|
// Platform specific and One Wire (data) methods
|
|
|
|
|
//
|
|
|
|
|
#if defined(ARDUINO_ARCH_ESP8266)
|
|
|
|
|
|
|
|
|
|
#include "methods/NeoEsp8266DmaMethod.h"
|
|
|
|
|
#include "methods/NeoEsp8266I2sDmx512Method.h"
|
|
|
|
|
#include "methods/NeoEsp8266UartMethod.h"
|
|
|
|
|
#include "methods/NeoEspBitBangMethod.h"
|
|
|
|
|
|
|
|
|
|
#elif defined(ARDUINO_ARCH_ESP32)
|
|
|
|
|
|
2024-03-22 11:38:45 -07:00
|
|
|
#if !defined(ARDUINO_ESP32C6_DEV) && !defined(ARDUINO_ESP32H2_DEV)
|
2023-04-09 10:02:49 -07:00
|
|
|
#include "methods/NeoEsp32I2sMethod.h"
|
|
|
|
|
#include "methods/NeoEsp32RmtMethod.h"
|
|
|
|
|
#include "methods/DotStarEsp32DmaSpiMethod.h"
|
|
|
|
|
#include "methods/NeoEsp32I2sXMethod.h"
|
|
|
|
|
|
2024-03-22 11:38:45 -07:00
|
|
|
#include "methods/NeoEspBitBangMethod.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
2023-04-09 10:02:49 -07:00
|
|
|
#elif defined(ARDUINO_ARCH_NRF52840) // must be before __arm__
|
|
|
|
|
|
|
|
|
|
#include "methods/NeoNrf52xMethod.h"
|
|
|
|
|
|
2024-03-11 09:36:13 -07:00
|
|
|
#elif defined(ARDUINO_ARCH_RP2040) // must be before __arm__
|
|
|
|
|
|
|
|
|
|
#include "methods/Rp2040/NeoRp2040x4Method.h"
|
|
|
|
|
|
2023-04-09 10:02:49 -07:00
|
|
|
#elif defined(__arm__) // must be before ARDUINO_ARCH_AVR due to Teensy incorrectly having it set
|
|
|
|
|
|
|
|
|
|
#include "methods/NeoArmMethod.h"
|
|
|
|
|
|
|
|
|
|
#elif defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR)
|
|
|
|
|
|
|
|
|
|
#include "methods/NeoAvrMethod.h"
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
#error "Platform Currently Not Supported, please add an Issue at Github/Makuna/NeoPixelBus"
|
|
|
|
|
#endif
|