Hi there,
I'm kind of stuck on this. A few weeks ago i made a RC5 IR to 10F202 receiver. All
worked fine. I decided that i need to store some counter values in eeprom, since the
10F does not have that, i decided to go with the 12F519.
I was used to set the IO functionality for the 10F trough the GPIO and TRISIO registers:
Code:
TRISIO = %00001000 'GPIO.3 = input only
GPIO = %00000000 'All low
In the 12F519 datasheet is says the tri-state register is called TRISGPIO and the GPIO register is called GPIO.
When i use TRISGPIO i get an syntax error, using TRIS or TRISIO also.
When i set a pin like: SDA VAR GPIO.1 i get an error : undefined symbol 'GPIO'
What am i missing ?
Bookmarks