trouble with rs232 comunication (solved)

i tried something that this tutorial said RS232 Communication - The Level Conversion - eXtreme Electronics

that says to plug out your mcu (arduino in case) and jump rx and tx to see if the comunication with the computer is working, then you open hyperterminal and the character that you send it should give you back. That has a good result so the problem is problaby in the code, does anyone already tried the code that i posted before ? ty all.