Revision 437
Cleaned up analog.c code. Recompiled library. Mostly commenting and
documentation fixes. No changes made to actual code.
serial.h | ||
---|---|---|
36 | 36 |
**/ |
37 | 37 |
|
38 | 38 |
/* |
39 |
serial.h - Contains definitions and function prototypes for the RS232 serial port
|
|
39 |
serial.h - Contains definitions and function prototypes for the RS232 serial port
|
|
40 | 40 |
author(s): pkv |
41 | 41 |
|
42 | 42 |
Directions: |
... | ... | |
45 | 45 |
write characters to the serial ports. |
46 | 46 |
|
47 | 47 |
UART Mapping: |
48 |
usb_*() -> UART0
|
|
49 |
xbee_*() -> UART1
|
|
48 |
usb_*() -> UART0 |
|
49 |
xbee_*() -> UART1 |
|
50 | 50 |
|
51 | 51 |
Options: (Add the following defines to your code to configure this library) |
52 |
#define USB_BAUD { 115200 | 9600 } <= pick ONE value from in here
|
|
53 |
#define XBEE_BAUD { 115200 | 9600 } <= pick ONE value from in here
|
|
54 |
#define USE_STDIO
|
|
52 |
#define USB_BAUD { 115200 | 9600 } <= pick ONE value from in here |
|
53 |
#define XBEE_BAUD { 115200 | 9600 } <= pick ONE value from in here |
|
54 |
#define USE_STDIO |
|
55 | 55 |
|
56 | 56 |
Note: If you enable USE_STDIO, the first init function that is called will |
57 | 57 |
automatically be linked to stdin, stdout, and stderr. To use the baud rate |
Also available in: Unified diff