Multiple pins
StarMan
Posts: 306
Is there a way (like a HIGH or LOW command) to output two or more pins at once?· I tried to search the subject but found nothing.
Thanks,
Chris I.
Thanks,
Chris I.
Comments
I tried this little piece of test code with LEDs on pins 12 thru 15.· The HIGH commands work, OUTD does not.· Only pin 12 goes high with OUTD.
'
[noparse][[/noparse] Initialization ]
DIRS = %1111000000000000
'
[noparse][[/noparse] Program Code ]
Main:
HIGH 12
PAUSE 1000
LOW 12
PAUSE 1000
HIGH 13
PAUSE 1000
LOW 13
PAUSE 1000
HIGH 14
PAUSE 1000
LOW 14
PAUSE 1000
HIGH 15
PAUSE 1000
LOW 15
PAUSE 1000
OUTD = 1
PAUSE 1000
OUTD = 0
PAUSE 1000
GOTO Main
It has to be something simple.· Any Guidance?
Thanks,
Chris I.
Thanks Mike.