From d531950a0b922f53433de1c659c6ca96fa8d4bea Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Wed, 8 Apr 2020 18:56:37 +0200 Subject: [PATCH] added small code example --- ScStwLibraries/scstwclient.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ScStwLibraries/scstwclient.h b/ScStwLibraries/scstwclient.h index ec460f8..830ba98 100644 --- a/ScStwLibraries/scstwclient.h +++ b/ScStwLibraries/scstwclient.h @@ -19,6 +19,12 @@ /** * This class is used to connect and talk to the ScStw basestation. * + * @code{.cpp} + * ScStwClient * client = new ScStwClient(); + * client->setIp("192.168.4.1"); + * client->connectToHost(); + * @endcode + * * @brief The ScStwClient class * @author Dorian Zedler */