Hey I have a quick one. I'm using a 16f684 and I'm trying to configure pin RA5 as an i/o. I see the table for setting the correct bit to change this pin, but I'm not sure how to do so in the compiler. Most tutorials I've seen for configuring pins use fuses, but I'm trying to find out how to figure out which fuse sets the bit correctly. The fuses in the .h file don't reference which bits they are manipulating, so there must be something I'm missing. I'm still fairly new at reading data sheets. Thanks!!
I would post the link for the data sheet, but it wont let me because I'm not registered.
Guest
Posted: Mon Feb 22, 2010 4:36 pm
Never mind, I figured it out. The datasheet actually labels the fuses as well. I had to set the INTRC_IO fuse. (internal clock i/o)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum