Try adding another 1 to your TRIS statement. It only has 7.

TRISC = %1111111

is the same as ...

TRISC = %01111111

Which puts PORTC.7 in output mode.

Or just leave the TRIS statement out. PIC's default to all 1's for all TRIS registers.