Hi all, the PIC virgin is back! I have successfully wrote a simple program for a 16F88. I am now trying to port it to a 12F509. When attempting to compile I get errors saying that you can not set the direction of I/O pins in 12 bit devices. The data sheet shows they are bi-directional. I have tied portb and GPIO names for the ports , but the error message is the same. Is this feature not supported by GCBasic?
Can anyone help, Thanks, Ed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all, the PIC virgin is back! I have successfully wrote a simple program for a 16F88. I am now trying to port it to a 12F509. When attempting to compile I get errors saying that you can not set the direction of I/O pins in 12 bit devices. The data sheet shows they are bi-directional. I have tied portb and GPIO names for the ports , but the error message is the same. Is this feature not supported by GCBasic?
Can anyone help, Thanks, Ed.
Never Mind! Found it in the bowels of the help messages.
'movlw b'11001111'
'option
Ed.