Wifly RN-XV needs delay(200) for FTP

From your output above, it seems to be working fine. It is just not doing what you want.

for(long i=0;i<128000;i++){
  if(i%20==18)MS.write(13);if(i%20==19)MS.write(10);if(i%20<18)
  MS.write((i%20)+65);

This prints the first 17 (edit: 18) characters of the alphabet (stops at R), then prints a line feed, ignores any character above R, and starts over.

Are you sure long is the correct data type for MS.write()?

edit: I can't count! It prints the first 18 characters, then starts over. That loop starts at 0, not 1. :blush: