Hi,
I'm a beginner in PIC programming and now struggling to program rfPIC12F675. I'm confused on how TRISIO assign input and output.
movlw b'00010000' ; set GP<4> as digital inputs and other bits as output
movwf trisio ; and set others as outputs/mclr/clkout/osc
However, when I try to simulate it, and try to observe the output (we fire the GP4 as high),
it seems that the output is 0 all the time.
Other than setting the trisio, do I need to call any other instructions to make sure the data is being read in - send to modulation - and then output accordingly.
I'm a bit lost now. Hope that you can help
Bookmarks