/** * @file WS2812_ATY.h * * @param Project DEVICE_GENERAL_ATY_LIB * * @author ATY * * @copyright * - Copyright 2017 - 2023 MZ-ATY * - This code follows: * - MZ-ATY Various Contents Joint Statement - * * https://mengze.top/MZ-ATY_VCJS * - CC 4.0 BY-NC-SA - * * https://creativecommons.org/licenses/by-nc-sa/4.0/ * - Your use will be deemed to have accepted the terms of this statement. * * @brief Base functions of WS2812 for all embedded device * * @version * - 1_01_220901 > ATY * -# Preliminary version, first Release ******************************************************************************** */ #ifndef __WS2812_ATY_H #define __WS2812_ATY_H #include "INCLUDE_ATY.h" #include "HW_GPIO_ATY.h" #include "HW_TIMER_ATY.h" /******************************* For user *************************************/ // #define __DEBUG_WS2812_ATY /******************************************************************************/ void WS2812_SetBit(uint8_t dataBit); void WS2812_SetColor(uint8_t R, uint8_t G, uint8_t B); #ifdef __DEBUG_WS2812_ATY void WS2812_Test(void); void WS2812_StyleA(void); #endif /* __DEBUG_WS2812_ATY */ #endif /* __WS2812_ATY_H */ /******************************** End Of File *********************************/