Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* heartbeat - blinker task */
- void vTaskLEDBlinker(void *pvParameters) {
- const char *pcTaskName = "vTaskLEDBlinker is running\n";
- //led_red_init();
- for (;;) {
- /* vPrintString(pcTaskName); */
- led_red_invert();
- vTaskDelay(500 / portTICK_RATE_MS);
- led_red_invert();
- led_green_invert();
- vTaskDelay(500 / portTICK_RATE_MS);
- led_green_invert();
- led_blue_invert();
- vTaskDelay(500 / portTICK_RATE_MS);
- led_blue_invert();
- }
- }
Add Comment
Please, Sign In to add comment