Help to communicate openhab2 and arduino with mqtt

Hello, I need help; I have installed openhab2 on raspberry pi 3 with mqtt and it works! I have sended a message from my pc to raspberry and it display correctly, but I don’t know how integrate it in arduino. I have tried several sketchs to control a led (simply on and off) but nothing works… Please, someone can provide a little example of sketch and items to make works this? Thank you

Look at this

Hello Fabio,

i am also using Arduino-MQTT-clients with openhab2 (on Pi3). Some weeks ago i had an idea for a simple to use Arduino-library. You can get this library at GitHUB - Frog. I would be glad if you try this library and please give me your feedback or questions.

Achim