i have 2 peices of code for a remote and servo The only difference i can see is the labels and variables used, but only the first one works.
init:
servo b.3, 80 ;set the initial servo position @ position 80
arm:
irin b.2,b0
debug
if b0=16 then arm_up
if b0=17 then arm_down
goto arm...
i am halfway through making a model parking garage for a school. here is a basic diagram of what it does
after completing the individual subsystems i have run intp some trouble with adding the fist barrier arm subsystem to the main code. ( when added,the servo arm moves more tan it did...
this happens when i hold my hand in the beam
code:
it appears on the debug screen that hte values only change if both beams a re covered at the same time. or mabe i just put the debug command in the wrong place
#Terminal 4800
Symbol spacesLeft = b0
Symbol spacesShown = b1
Symbol...
my second infra red beam wont give a value
hi all, after getting my infra red beam code working (see here final lcd ir 3 code.bas)
using steady states, have tried to structure the code around 'events' like a state machine.
now my second infra red beam will not give a value
subsystem diagram...
hi all, after getting my infra red beam code working (see here)
using steady states, have tried to structure the code around 'events' like a state machine.
now my second infra red beam will not give a value
subsystem diagram here...
hi
my code involves cars entering a beam and then variable b3 count up only once the car exits the beam.
currently i am using two sub routines that have to happen in order to get b3 to count up(in_the_beam and out_of_the_beam).
i was wondering if there is a simpler way of getting this to...
my project involves variable b2 counting up to 4 and displaying b2's values ("1-4") on an LCD screen.
The value is displayed on the fist line, but when i try to display it on the second line i cant.
here is my code, thanks for any help.;)
init:
b2=0
pause 500 ; wait for display...
I am making a model parking garage which involves cars passing through an infra red beam.
the amount of cars that pass through the beam makes variable b1 count up, the value of b1 is then displayed on an lcd screen.
the problem is i want b1 to only count up once the cars have exited the...