# Using Library

ソースコード上でライブラリを使用するには `#include <mwm5.h>` をソースコード上に記述します。

```cpp
#include <mwm5.h>
#include <M5Stack.h>
```

* Arduino.h, M5Stack.h は mwm5.hより後でインクルードしてください。
* mwm5.hには`using namespace`を用いて、ライブラリ中の名前空間を可視にし省略できる宣言が含まれています。これら名前空間を明示的に記述したい場合は替わりに`#include <twelite.hpp>`を記述してください。

ここでは、以下の解説が含まれます。

* [パーサーライブラリの使用方法](/getting-started/using-library/parser.md)
* [ターミナルライブラリの使用方法](/getting-started/using-library/terminal.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mwm5.twelite.info/getting-started/using-library.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
