Firstly, (you probably aren't doing this, but just in case) the TRIS instruction does not exist for ports past C. If you are programming in assembly, are you switching banks before you apply 0x00 to TRISD? -Adam Hardware Engineering wrote: > > I've been working on trying to interface with and LCD, and have been been able > to get it working with a F84, so since my target device is going to be the > F871, figured might as well port the code over to it, but when I define PortD > to be an output, ie..moving 0x00 to TRISD, and also 0x00 to TRISE, I thought > that it should have setup portD for output, and also portE (the 3 bits) for > output as well. > > OK, so when I use the TRISD I get an error saying it is out of range, and then > I used 0x88 and 0x89 as destinations, I get a warning it is out of the page > boundary. > > Anyone know how this is supposed to be setup? > > ____________________________________________________________________ > Get free email and a permanent address at http://www.netaddress.com/?N=1 > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > use mailto:listserv@mitvma.mit.edu?body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST