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:
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).
In the parent directory create a new folder named "build" and enter it:
mkdir build && cd build
Next, configure your project using:
cmake ..
Then build your project with:
cmake --build .
After that, executable files should appear in the same folder.
./file_name
Python examples
In order to execute Python files, go to the desired directory and type:
python3 file_name.py
Bash examples
In order to execute Bash files, go to the desired directory and type:
bash file_name.sh