# How to Use?

## {{@273#bkmrk-tiger-city-imx-embed}}

Tiger computer is provided with some basic software examples that can be used as a starting point for developing custom programs.

The examples are available in:

- C
- Python
- Bash

The examples are divided into categories:

- [External Interfaces](https://doc.redisage.com/link/151#bkmrk-page-title)
- [Internal Devices‎](https://doc.redisage.com/link/153#bkmrk-page-title)
- [Front Panel‎](https://doc.redisage.com/link/154#bkmrk-page-title)
- [TCX www](https://doc.redisage.com/link/155#bkmrk-page-title)

### C examples

Examples written in C can be built with CMake. Put your source files into one folder and specify its name (${SRC\_DIR} dir\_name). Then create a CMakeLists.txt file in the parent directory (an example of this file is provided below).

[CMakeLists.txt](https://gitlab.soleotech.ovh/soleox/ecb-elecronic-circuits-boards/computers/tiger-city-imx/tiger-city-imx8-vertical/TCX_Software_Examples/-/blob/master/CMakeLists.txt?ref_type=heads)

In the parent directory create a new folder named "build" and enter it:

```bash
mkdir build && cd build
```

Next, configure your project using:

```bash
cmake ..
```

Then build your project with:

```bash
cmake --build .
```

After that, executable files should appear in the same folder.

```bash
./file_name
```

### Python examples

In order to execute Python files, go to the desired directory and type:

```bash
python3 file_name.py
```

### Bash examples

In order to execute Bash files, go to the desired directory and type:

```bash
bash file_name.sh
```