[quote:8180242081]If I disable interrupt, Valve's value is right one digit[/quote:8180242081]
I don't see any irq routine, so i can't say anything about that.
You only draw now the new value of valve on the screen, try clearing the valve part first;
[code:1:8180242081]
If Control_select = 2 Then
Inverse = 1
End If
Lcdat 4, 48, " "
Lcdat 4 , 48 , Valve , Inverse ' sometimes a problem with this variable
Inverse = 0
[/code:1:8180242081]
What are your stack values now?
↧