A button on the Arduino to send a command to delphi

Hello ,

I want to make some buttons on the arduino , and sent commands via comport to delphi.
is there anyone to help me ?

sorry for my english

greetz,
Jan

Have a look at the state change detect tutorial and in the part where it detects a button press, just do a serial print.