Hi
And What about using a specialised LED Driver ... as I suppose you don't read time more than once a second ... some latching could be welcome.
as OWin must not be interrupted ... no other solution !!!
Alain
Hi
And What about using a specialised LED Driver ... as I suppose you don't read time more than once a second ... some latching could be welcome.
as OWin must not be interrupted ... no other solution !!!
Alain
I believe I may have found an acceptable work-around for this. It turns out that _part_ of the problem was the way I was handling the display multiplexing. I was writing to the TRIS byte on the same port as the 1wire link. Now I'm reading the TRIS byte and bitmasking the write.
But the real solution was to run the OWIN/OWOUT _in_ the interrupt. That way the 1wire commands are sync'd to the interrupt and complete before the next interrupt. I had to add some flags to steer the main loop and to indicate when the data is valid and should be proccessed, but that's not a big deal.
Thanks,
-Denny
Last edited by Desterline; - 22nd June 2005 at 03:15.
Bookmarks