> also if you see any obviously stupid things let me know. <DOH> Just spotted a biggie. you've left VREF loose, tie to 5V, without it PORTC doesn't get any supply and can't used as an output :-) Paul