Eric Wu / Mbed 2 deprecated WifiRobot

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

irobot.h File Reference

irobot.h File Reference

Top-level driver for the iRobot Create. More...

Go to the source code of this file.

Functions

int32_t irobotOpen (const irobotUARTPort_t port)
 Open UART serial port and initialize iRobot.
int32_t irobotClose (const irobotUARTPort_t port)
 Close a session with an iRobot.

Detailed Description

Top-level driver for the iRobot Create.

Implements irobotOpen() and irobotClose()

Author:
Jeff C. Jensen
Date:
2013-10-17 Copyright (C) 2013, Jeff C. Jensen, Edward A. Lee, and Sanjit A. Seshia. This software accompanies An Introductory Lab in Embedded and Cyber-Physical Systems and is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. See http://leeseshia.org/lab.

Definition in file irobot.h.


Function Documentation

int32_t irobotClose ( const irobotUARTPort_t  port )

Close a session with an iRobot.

Returns:
error code
Parameters:
[in]portUART port

Definition at line 42 of file irobot.cpp.

int32_t irobotOpen ( const irobotUARTPort_t  port )

Open UART serial port and initialize iRobot.

Returns:
error code
Parameters:
[in]portUART port

Definition at line 9 of file irobot.cpp.