VAR
Armored Cars
Posts: 172
Will this work
cat VAR IN4
or do I need something like this
car VAR IN4.Bit1
I looked in help but it wasnt very clear.
cat VAR IN4
or do I need something like this
car VAR IN4.Bit1
I looked in help but it wasnt very clear.
Comments
In PBASIC 2.5 an easier way to do that is:
In this program Cat and Dog names assigned to P4 and P5, respectively.· On reset, all pins are inputs, so Dog (P5) is made an output.· The main loop causes the output from Dog to follow the input from Cat.· The equivalent code is:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
drive PIN 0
forward CON 500
MAIN:
PULSOUT drive, forward
PAUSE 20
GOTO MAIN
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office