I always like answers and Darrel, from MELABS, provided one so I thought I'd play nice in the schoolyard and share. I've been trying to get 20 LEDs to light sequentially using a 12F683 for several months. I could never get one LED to light without another ghosting. I'd thought my code was the issue but it turned out to be the circuit itself. The circuit attached to this reply works. You can look further up the thread to see what doesn't. The code previously attached does work, even in the new circuit, but Darrel again came to the rescue with a significantly simpler and more elegant way to do it. That code is also attached.I apologize for the run on. My computer form some reason doesn't like carriage returns today.




Bookmarks