|
Re: Addressing I/O in Sections
Just a quick disclaimer - I'm not a programmer.
Are you looking to do it for ease or because you don't want the delay?
Have you tried it just doing them one-by-one? The digital IO of the PIC changes so quickly that I can't see it really being an issue doing them one by one. Otherwise, I'm pretty sure it would not be possible to do, as there are not 8 digital out's all on the same 8-bit port, except relay outputs, all 8 fowards are on port E and all 8 reverse's are on port D. If you used the relay outputs, you could just assign to the output byte for the respectable port (i think). If you just wanted ease, couldn't you write a function to split up your char input and assign it to the correct digital out bits?
Last edited by BrianBSL : 16-09-2005 at 00:14.
|