Problem : the code script is executed like just 8 times and stop !! help !!

firashelou: so this is a normal USB that allows me to connect the arduino to PC so why would i need the FTDI ? i mean what advantage i will gain from this ?

No advantage at all, unless you needed a serial connection to the PC on pins other than 0 and 1 for some reason.

Peter, thank you for explaining it clearly.

...R

PeterH:

firashelou: so this is a normal USB that allows me to connect the arduino to PC so why would i need the FTDI ? i mean what advantage i will gain from this ?

No advantage at all, unless you needed a serial connection to the PC on pins other than 0 and 1 for some reason.

ok thank you by the way the problem i guess it's solved, it was related to the battery