Well, my point was that the '876 has been obsoleted for awhile now, and most likely hard to get. And that the O/P might've actually meant '876A, which, as we all know, a LOT of newbs have trouble with PortA on that and many other PICs.
Well, my point was that the '876 has been obsoleted for awhile now, and most likely hard to get. And that the O/P might've actually meant '876A, which, as we all know, a LOT of newbs have trouble with PortA on that and many other PICs.
If the punter says he's got an 876, then we shouldn't make assumptions that he means the 'A' version. Likewise, he's asking about TRIS, so why make the assumption he's going to have other problems on that port? And why make the assumption that the PIC is hard to get... I've got a drawer full of them and so might other folks. Actually, purchasing here tries to vacuum up any they find on the market, because they're usually going real cheap as distributors try to off-load their stocks - it just means bigger profit margins on stuff you're selling.
There's an old adage (which I teach people here) that goes "If you Assume, then it usually makes an ASS out of U and ME".
Regardless of version, the setting of TRIS on the chips is the same which is all the thread was asking about.
Melanie, you are right, it is a 876 and not a 876a. And I did not know the the 876 has been replaced by the 876a. I'm new at this and bought some 876 chips cheep. Will the 876 program still work with the newer 876a? What are some of the things is need to watch for when switching to the 876a? Thanks so much.
Dave
Always wear safety glasses while programming.
Bookmarks