The pyMultiSerial module provides 5 callback events for which you can define functions: Set Properties of Object: ms.baudrate = 9600Ĭallback functions are the functions defined by you in your program which are triggered by pyMultiSerial module whenever an event occurs. Do check the Examples folder for simple examples to get started with. PyMultiSerial is very easy to use! Below are the important statements & functions of the library. How to Install: pip3 install pyMultiSerialĭependencies are automatically installed during installation of pyMultiSerial. You can add your own processing logic to the above events using callback functions.Detect disconnections from port automatically. You can attach callback function to process this data on-demand. Raises a trigger whenever data is received from the port.Detect connections to port automatically and starts monitoring them.Monitor multiple serial ports simultaneously.A Python module for continuous communication with multiple serial ports, based on pyserial module Features:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |