And I need the PSOC to take these coordinates and do stuff in response to the passed information. Is there some other way to do write from a python script and read that information into my PSOC? For my application, I have a script in Python that outputs coordinates. However, I have the issue that my python script will throw an error because the port is already open and I am not able to write to the COM port. Theoretically, I thought that if my python script wrote to a Com port, and my UART was connected to that same COM port, I'd be able to read information in. Then within PSOC file, I have a UART that is able to read and write from a Com port too. For testing, currently just trying to send the letter "a".) (Below is what I added to my python script. I'm currently trying to open a Serial com port in my python script, and write to that com port. I'm trying to pass in information from a python script run on my computer to my psoc device (I'm on a Windows computer).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |