text: #include <Arduino.h>
  #include "Common.h"
  
  void taskOne(void *parameter)
  {
  
  	for (int i = 0; i < 10; i++)
  	{
  
  		Serial.println("Hello from task 1");
  		delay(1000);
  	}
  
  	Serial.println("Ending task 1");
  	vTaskDelete(NULL);
  }
  
  void taskTwo(void *parameter)
  {
  
  	for (int i = 0; i < 10; i++)
  	{
  
  		Serial.println("Hello from task 2");
  		delay(1000);
  	}
  	Serial.println("Ending task 2");
  	vTaskDelete(NULL);
  }
  
  void initiate_create_task_example()
  {
  
  	xTaskCreate(
  		taskOne,   /* Task function. */
  		"TaskOne", /* String with name of task. */
  		10000,	 /* Stack size in bytes. */
  		NULL,	  /* Parameter passed as input of the task */
  		1,		   /* Priority of the task. */
  		NULL);	 /* Task handle. */
  
  	xTaskCreate(
  		taskTwo,   /* Task function. */
  		"TaskTwo", /* String with name of task. */
  		10000,	 /* Stack size in bytes. */
  		NULL,	  /* Parameter passed as input of the task */
  		1,		   /* Priority of the task. */
  		NULL);	 /* Task handle. */
  }