Having trouble with a FOR loop.

Modify the code to print receivedChars In the If section
Post your code
Post what is in the console

To be safe if altitude can be huge, change for (int h=0; h<Height; h+=100) {intofor (float h=0; h<Height; h+=100.0) {