darryl_co
Member level 1
How do I set I the configuration which pin of the pic is input and which pin is output.I do understand that setting a pin to 0 makes it output and 1 makes it Input. But I still dont get it
what does the above code mean?
can someone please explain with reference to PIC12F675 and give some more examples like GP0 and GP3 inputs and rest outputs.Does MCLR pin reset the code and starts from the start or temporary code halt.I am using MPLAB and CCS pic C compiler
Code:
set_tris_a( 0b11111001 );
can someone please explain with reference to PIC12F675 and give some more examples like GP0 and GP3 inputs and rest outputs.Does MCLR pin reset the code and starts from the start or temporary code halt.I am using MPLAB and CCS pic C compiler