hello_world

Example of the component marcel-cd/etlcpp v1.0.0
# Hello World  

## Running the Example  

To run this masterpiece on a Linux host, simply use:  

```sh
make linux
```

## Code  

``` c
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>

#include <etl/string.h>

const char *TAG = "main";

extern "C" void app_main() {
  etl::string<20> text1 = "Hello";
  etl::string<20> text2 = " World!!!";
  text1 += text2;
  ESP_LOGI(TAG, "%s (len: %zu, capacity: %zu)", text1.c_str(), text1.size(),
           text1.capacity());
}
```

## Output__
I (742408341) port: Starting scheduler.
``` sh
I (742408341) main: Hello World!!! (len: 14, capacity: 20)
```

To create a project from this example, run:

idf.py create-project-from-example "marcel-cd/etlcpp=1.0.0:hello_world"

or download archive (~15.35 KB)