Show us your sketch... Prove to yourself the sketch is working (use a LED with 220R resistor on the o/p pin)