
Originally Posted by
skimask
Is that ALL of your code?
Code:
durum1 var byte
durum2 var byte
durum3 var byte
durum4 var byte
Code:
if portb.0=1 then
serout porta.1,t300,["a",durum1]
endif
if portb.1=1 then
serout porta.1,t300,["b",durum2]
endif
if portb.2=1 then
serout porta.1,t300,["c",durum3]
endif
if portb.3=1 then
serout porta.1,t300,["d",durum4]
endif
I see variables being setup in 1st code block, and I see The variables value being outputted in serial format, I do not see how these variables get any value to be displayed. So I repeat skimask's question: is this all of your code?
JS
Bookmarks