Any input would be appreciated. Im playing around with a transmitter/reciever module. To use it I have to set 4 bits parellel then bring the transmit enable pin low. The problem Im having is I cant set 2 pins to output at the same time for some reason.
Ive tried 2 test programs to see what was going on under the hood. I put leds on gpio 0 and 1 then tried the following code with the transmit enable tied to ground.
main:
gpio = 3
pause 2000
gpio = 0
pause 2000
goto main
which produced nothing. I then tried manually setting each pin via...
main:
high gpio.0
high gpio.1
high gpio.2
pause 2000
low gpio.0
low gpio.1
low gpio.2
pause 2000
goto main
and only gpio2 toggles. Does anyone see my flaw?
Ive tried 2 test programs to see what was going on under the hood. I put leds on gpio 0 and 1 then tried the following code with the transmit enable tied to ground.
main:
gpio = 3
pause 2000
gpio = 0
pause 2000
goto main
which produced nothing. I then tried manually setting each pin via...
main:
high gpio.0
high gpio.1
high gpio.2
pause 2000
low gpio.0
low gpio.1
low gpio.2
pause 2000
goto main
and only gpio2 toggles. Does anyone see my flaw?