30 Apr
2013
30 Apr
'13
4:12 p.m.
indata=serial.read(1) while indata != "?" or indata != "G" data += indata
That won't do what I think you're intending, but regardless, don't do it that way. You'll be in an infinite loop forever if the radio stops responding :)
in the download function. I'm not sure if that's proper Python grammar, but you get the idea. Could be done with if as well, but I think your echo_write suggestion is better.
Yeah, it's also more direct, efficient, and the convention in other places of the code.
Thanks!
--
Dan Smith
www.danplanet.com
KK7DS