port issues with a 16f684

View: New views
2 Messages — Rating Filter:   Alert me  

port issues with a 16f684

by canatan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

okay i'm using the book 123 mcu experiments for the evil genius.. and i guess i missed something while i was reading but suddenly every  trisX and portX values are 8 bit binary numbers instead of 6 bit..
and each port only has 6 bits.. as in the datasheet atleast... what am i missing please?
its really annoying..

Re: port issues with a 16f684

by kenn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Um, can you be more specific?What isn't working?

I bought that book and the Pickit1 about 2 years ago and it's been a great kickstart into PIC programming. I've since bought a Pickit2 and tried some other PICs but I still use the book and the Pickit1 for some quick tests, and the '684 is maybe my favourite PIC - small size, but loaded.