Show all your code... I get the feeling you don't have a pin set right, or maybe you've got your timing set too fast...