You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jonathan Dean edited this page Sep 28, 2015
·
1 revision
The PyMSP library has a number of simple methods to make communicating with the flight controller easier. This is a list of all public methods and attributes for the library.
#Connection Methods
connect
Connects to the specified serial port at the specified baud rate.
Args:
portName (str): name of the serial port to use (e.g., `COM3` in Windows, `/dev/ttyAMA0` in Linux)
baudRate (int): speed to connect at; usually 115200 for CleanFlight
Returns:
Bool: `True` if the connection was successful, `False` otherwise