Thank you mackrackit,

i will try the code later and let you know. When i finish the circuit and the code i will post it here.

Regards