Die Suche ergab 2 Treffer
- Montag 25. Juni 2018, 14:58
- Forum: Python mit anderen Sprachen verwenden
- Thema: Serial Comm shared library sending wrong data when used with ctypes
- Antworten: 3
- Zugriffe: 3192
Re: Serial Comm shared library sending wrong data when used with ctypes
Thank you for your suggestion. I will give CFFI a try.
- Montag 25. Juni 2018, 10:03
- Forum: Python mit anderen Sprachen verwenden
- Thema: Serial Comm shared library sending wrong data when used with ctypes
- Antworten: 3
- Zugriffe: 3192
Serial Comm shared library sending wrong data when used with ctypes
Hello All, I have a built a simple serial communication shared library which i am trying to use in python using the ctypes library. The steps that i am following are: 1. Load the .so file by calling ctypes.cdll.loadlibrary(). 2. Initialize the serial communication module. 3. Send 0xFF as sync bytes....