Can you be a little more specific in your description?
Does the sensor work with the test program?
What are you trying to do with your program?
Can you post your program?
Are you using EasyC or another compliler?
Are you using the IFI or Vex controller?
You need to give as much information as possible when asking a question. Saying its broken and you googled does not help much. A good guide to asking questions is here:
How To Ask Questions The Smart Way