I am working on a simple project in which a python script will help the user interact with the MCU from the computer. The python script should drive an LED on and off depending on what the user writes and sends to the serial port.
However, I need the enter key to be automatic...
That means that the user would only have to write the word, and then he or she would just wait a few seconds until the program presses the enter key by itself.
I don't know very well this language, so how do I do that with python? :p
I am using the raw_input() function, so that's why I am asking about the enter key...
However, if you have any other suggestion, don't hesitate to share your idea!
Thanks in advance.