where is RE3?

Status
Not open for further replies.

tempus

Member
Hey all;

I'm using a PIC 16f737, and need to use RE3 (same pin as MCLR) as an input. I've got it configured for that, but what is the code to access it? It seems to me that it should be:

porte,re3

but according to the data sheet, there is no port e in the 737.

Thanks
 
Presumably you just address it as porte, 3 (NOT re3), both trise and porte are included in the 16F737 include file.
 
That's kind of what I figured too, but this line in the PORTE and TRISE section made me wonder:

This section is not applicable to the PIC16F737 or
PIC16F767.

I did notice the PORTE section in the *inc file, but again it's kind of confusing.

Thanks for the confirmation - I'll use that.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…