Public Member Functions | Public Attributes
segbot_sensors.serial.ArduinoDevice Class Reference

List of all members.

Public Member Functions

def __init__
def close
def ok
def open
def read

Public Attributes


Detailed Description

Class for managing the Arduino serial port connection.

Definition at line 48 of file

Constructor & Destructor Documentation

def segbot_sensors.serial.ArduinoDevice.__init__ (   self,
  port = '/dev/ttyACM0',
  baud = 115200 

Definition at line 51 of file

Member Function Documentation

Definition at line 59 of file

:returns: ``True`` if Arduino contacted. 

Definition at line 64 of file

Open the Arduino serial device interface.

:returns: ``True`` if open succeeds.

Definition at line 68 of file

Read a line from the serial port.

:returns: a string containing the next line, maybe empty.

Definition at line 100 of file

Member Data Documentation

Definition at line 51 of file

Definition at line 51 of file

Definition at line 51 of file

The documentation for this class was generated from the following file:

Author(s): Piyush Khandelwal
autogenerated on Thu Jun 6 2019 21:37:13