serial.h File Reference

Contains declarations for serial input and output. More...

Go to the source code of this file.

Defines

#define USB_BAUD   115200
 the USB baud rate
#define XBEE_BAUD   9600
 the XBee baud rate

Functions

void usb_init (void)
 Initialize the USB.
int usb_putc (char c)
 Print a character to USB.
int usb_getc (void)
 Read a character from USB.
int usb_getc_nb (char *c)
 Read a character from USB without blocking.
int usb_puts (char *s)
 Print a string to USB.
int usb_puti (int value)
 Print an integer to USB.
void xbee_init (void)
 Initialize the XBee.
int xbee_putc (char c)
 Print a character to the XBee.
int xbee_getc (void)
 Read a character from the XBee.
int xbee_getc_nb (char *c)
 Read a character from the XBee without blocking.


Detailed Description

Contains declarations for serial input and output.

Contains definitions for serial input and output.

Author:
Colony Project, CMU Robotics Club Based on Tom Lauwer's Firefly Library

Generated on Wed Sep 26 17:39:30 2007 for libdragonfly by  doxygen 1.4.6