We are about to switch to a new forum software. Until then we have removed the registration on this forum.
can somebody help me..how to solve it?
The ports are
COM4 = 0
COM6 = 1
COM8 = 2
If a.length = x, you should never try to access a[x]. This is because we count the elements of an array starting with 1, but we access them using indexes that start at 0.