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.
Just a wild guess, but you may not be reading the status port at the right time. Your program loop should work like this simplified sequence.
1. Write clock & data to port data register
2. Read status register bits and compare to write
3. Clear clock and data bits
4. Repeat loop for next bit
If you try to read the status AFTER you have cleard the data, you will not see it.
Dialtone
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.