Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void vTaskLEDBlinker(void *pvParameters) {
- //led_red_init();
- for (;;) {
- led_red_invert();
- vTaskDelay(1000 / portTICK_RATE_MS);
- led_red_invert();
- led_green_invert();
- vTaskDelay(1000 / portTICK_RATE_MS);
- led_green_invert();
- led_blue_invert();
- vTaskDelay(1000 / portTICK_RATE_MS);
- led_blue_invert();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement