But naturally that's much too obvious... so...
Code:
set_tris_b( 0x00 ); // set port b to all outputs while ( 1 ) { output_b( 0x00 ); output_b( 0xff ); }
Comment