TRISIO = %11111110 would setup GPIO.0 as an output leaving the rest setup as inputs.

What is it you're doing?