added some macros, which should make the example more usefull
Signed-off-by: Jan Kobler eng1@koblersystems.de