maybe a dumb question but have you pulled mclr high? If its not, body capacitance can make for some rather odd effects. --- rumpelteazer666 wrote: > nothing yet. I substituted TRISB=255; with TRISB=1; > (setting as input only > the last bit), and put a 220ohm resistor between > PORTB0 and ground. The i > use a clip to connect the 5V to PORTB0 and it plays, > i disconnect the clip > and it stops again until i connect it again. > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist