From: Kyle D. <kd...@lt...> - 2015-03-29 16:13:27
|
Currently I have a program that takes the serial number from an android phone automatically and saves it to a certain list. However, I don't want this process to be automated. There's an android app being written to go with this program and we want there to be a button that the user has to press in order for it to continue with the program. I'm confused about how I am actually receiving messages from the phone, however. I've looked at the tutorial and I'm wondering if it'd be as easy as just having a read command? Something like message = <read device USB> if message = <whatever I'm expecting, defined by the app> <continue if good, keep waiting and checking if not> Is this doable? I'm not the best with python and this usb communication |