Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
It's an older PIC, you need to use the TRIS instruction to set the TRIS register, unlike the newer PICs which give direct access to the TRIS register the same as other SFRs.
Read the data sheet for the 12F508, it clearly states how to set it under the I/O Port section.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.