Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef INC_TAILLIGHT_H_
- #define INC_TAILLIGHT_H_
- #include "WS2812B.h"
- #include <stdlib.h>
- #include <stdio.h>
- #include <stdint.h>
- #include "stm32f0xx_hal.h"
- #include "stm32f0xx_hal_tim.h"
- extern int32_t tailLightState;
- void fullfill(WS2812B* strip, uint32_t currentTime);
- void blinking(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- uint8_t flashes(WS2812B *strip, uint32_t delayTime, uint32_t flashTime, uint32_t currentTime);
- void circus(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void snake(WS2812B* strip, uint8_t snakeLength, uint32_t delayTime, uint32_t currentTime);
- void loading(WS2812B* strip, uint8_t maxLength, uint32_t delayTime, uint32_t currentTime);
- void hearthbeat(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void quadrotate(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- #endif /* INC_TAILLIGHT_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement