Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef INC_TURNSIGNAL_H_
- #define INC_TURNSIGNAL_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 turnSignalState;
- void fullblink_l(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void fullblink_r(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void lineblink_l(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void lineblink_r(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void animation_r(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void animation_l(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void invert_r(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void invert_l(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void fade_r(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void fade_l(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void pulse_r(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- void pulse_l(WS2812B* strip, uint32_t delayTime, uint32_t currentTime);
- #endif /* INC_TURNSIGNAL_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement