If possible, can you share a code which does this? Because I am not that well acquainted with Arduino yet...
Thanks