adjusting multiple outputs failing?
geoffrey
Posts: 1
hey, I'm making a rc car as part of a comp. eng. project.
We have four ouput lines coming from the stamp (IC-2), to a 74LS244, to drive relayes to drive the motors of the car. My problem is that assigning several outputs as at the same time will fail the device and restart it. With this code(the constants are pin #'s):
back:
· HIGH pLeft···············
· HIGH pRight
· LOW dLeft
· LOW dRight
· PAUSE 1000
I seem to be able to get it to work with just 2 high/low commands at a time.·The input currents match with the·output currents of the stamp as well. Also, I have stated previously that these pins were outputs(even though these commands auotmatyically change the io direction). I'm using pBasic 2.0. Any idea whats going on?
We have four ouput lines coming from the stamp (IC-2), to a 74LS244, to drive relayes to drive the motors of the car. My problem is that assigning several outputs as at the same time will fail the device and restart it. With this code(the constants are pin #'s):
back:
· HIGH pLeft···············
· HIGH pRight
· LOW dLeft
· LOW dRight
· PAUSE 1000
I seem to be able to get it to work with just 2 high/low commands at a time.·The input currents match with the·output currents of the stamp as well. Also, I have stated previously that these pins were outputs(even though these commands auotmatyically change the io direction). I'm using pBasic 2.0. Any idea whats going on?
Comments