I am using the irin command in my project and would like some help.
A segment of my project's code looks like this:
nomad:
irin c.2, b0
select case b0
case 18
high b.2, b.5
low b.3, b.4
end select
goto nomad
When I use the code, it works, but the command latches it in that position unless another key is pressed. I would like to make it so that the variable(b0) resets (goes from 18 to 0) once the button is released.
A segment of my project's code looks like this:
nomad:
irin c.2, b0
select case b0
case 18
high b.2, b.5
low b.3, b.4
end select
goto nomad
When I use the code, it works, but the command latches it in that position unless another key is pressed. I would like to make it so that the variable(b0) resets (goes from 18 to 0) once the button is released.