using prallax sensors on arduino

I just got an prallax ir range finger and accelerometer. How could I use it on my arduino and Where can I get some code for them.

check the arduino playground, I believe they have samples for both

I just tried to change delay times on an led link but i receive a error message. I changed the com because of previous error.

the message is
avrdude: ser_send(): write error: sorry no info avail