I solved the problem i dont know why but the computer recognized what i was tried to type when i used this simple code below
with this schematic tutorial RS232 Communication - The Level Conversion - eXtreme Electronics
#include <SoftwareSerial.h>
SoftwareSerial portOne(6, 7);
void setup()
{
Serial.begin(9600);
portOne.begin(9600);
}
void loop()
{
portOne.write('x');
float x = portOne.read();
delay(100);
portOne.write('y');
float y = portOne.read();
delay(100);
Serial.print(x);
Serial.println(y);
}
ty all