pls help me,
how swap two ports if button is pressed
in sw is used:



led1 var portb.1
led2 var portb.2

this is variables in my sw.

sorry my english is no very good.

tnx.
Peter / ustredna