Refactored example
Refactored example

Signed-off-by: Roman3349 <6b7cbc66756660b4790b3af1ec1507653acaa035@centrum.cz>

iqrfsdk/clibiqrf-mcu,iqrfsdk/clibiqrf-uc,iqrfsdk/clibiqrf-uc,iqrfsdk/clibiqrf-arduino,iqrfsdk/clibiqrf-mcu,iqrfsdk/clibiqrf-uc,iqrfsdk/clibiqrf-arduino,iqrfsdk/clibiqrf-mcu,iqrfsdk/clibiqrf-arduino