Hi,
It's possible to refresh this status ? I guess not ..
Of course there is, same way as you got the status in the first place, here with a little twist:
Code:
Main:
GOSUB GetStatus    ' Get inital state

Select Case status_1

Case 12
  PortB.1 = 1
  WHILE status_1 = 12
  GOSUB GetPortStatus    ' <--- Now we'll update status_1 so we know when the button is released.
  WEND
  PortB.1 = 0 

'.... And so on
'.... and so on
'.... and so on

Goto Main

GetPortStatus:
   status_1 = PortA & %00011100
RETURN
/Henrik.