/tinkerforge-poti-example

Tinkerforge linear poti example with a command line app using CLI11 and fmt

Primary LanguageC++MIT LicenseMIT

Tinkerforge linear potentiometer example application

Application that connects to a Tinkerforge's linear poti and outputs the read position of the slider.

Requirements

Needed tools installed in your machine to run the examples:

Building the app

Create a build directory and change to it:

mkdir build && cd build

Install app dependencies tinkerforge, CLI11 and fmt using Conan:

conan install ../conanfile.txt

Configure the project and build the examples using CMake build system:

cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
cmake --build . --config Release

Run the examples:

Release/tinkerforge-example.exe --help