Tylu wrote: > And I can't rewrite the program to 2 channel. I had the same problem. You need to make a "channel sorter" routine. You need 5 variables: Channel, "Chan1in, Chan2in, Chan1out, Chan2out. Be sure to set the initial state of the "Channel" variable. Use TSTBIT and then branch on = zero (or not = zero). After the branch, set the variable to the opposite state - if it was 0, set it to 1 - if it was 1, set it to 0. In one of the branches, RX0 into "Chan1in" and "Chan1out" to TX0. In the other, RX0 into "Chan2in" and "Chan2out" to TX0. This separates the 2 channels. At the end one of the 2 branches, put the code you want to run/process. Use RTI at the end of both branches. Dave David Tiefenbrunn N1WWY Essential Telecommunications Corp. - http://www.essentialtel.com David Tiefenbrunn - http://users.abac.com/dandatief |