There is nothing more humbling for a ham than to have problems with software and cannot find the solution anywhere. I have read chapters 2 and 3 several times and still cannot figure out why I cannot compile the program. In the Loop() procedure, I keep getting an Undefined variable error in reference to the "ch" as in
else if (ch < 31 && ch != 0x1c && ch != 0x1d && ch != 0x27).
The same variable won't compile in chapter 2 as in Loop() again --
if ((inbyte > 31 || inbyte == 0x1c || inbyte == 0x1d || inbyte == 0x27) && (buflen < BUFFERSIZE))
I must be forgetting to include something, but I am at a loss to know what. Can anyone get me over this bump in the road?