| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /**
- * @file WS2812_ATY.h
- *
- * @param Project DEVICE_GENERAL_ATY_LIB
- *
- * @author ATY
- *
- * @copyright
- * - Copyright 2017 - 2025 MZ-ATY
- * - This code follows:
- * - MZ-ATY Various Contents Joint Statement -
- * <a href="https://mengze.top/MZ-ATY_VCJS">
- * https://mengze.top/MZ-ATY_VCJS</a>
- * - CC 4.0 BY-NC-SA -
- * <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
- * https://creativecommons.org/licenses/by-nc-sa/4.0/</a>
- * - 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 *********************************/
|