ryo seki
/
serialSend5
a
Diff: main.h
- Revision:
- 1:ed00e9c4ba6e
- Parent:
- 0:62ac378df546
--- a/main.h Fri Apr 19 09:14:08 2013 +0000 +++ b/main.h Tue Apr 30 09:06:57 2013 +0000 @@ -6,9 +6,11 @@ BusOut mbedleds(LED4,LED3,LED2,LED1); Serial device2(p28, p27); // tx, rx Serial device(p13, p14); // tx, rx -Serial pc(USBTX, USBRX); // tx, rx +//Serial pc(USBTX, USBRX); // tx, rx TextLCD lcd(p5, p6, p10, p7, p9, p8); +int AveDistance; + extern uint16_t ultrasonicVal[4]; extern double ultrasonicValue[4]; extern int direction; @@ -21,5 +23,7 @@ extern void dev2_rx(void); extern void dev2_tx(void); -extern int data[4]; -extern int data2[5]; +extern uint8_t data[4]; +extern uint8_t data2[5]; + +#define BAUD_RATE 19200 \ No newline at end of file