a

Dependencies:   TextLCD mbed

Committer:
akudohune
Date:
Tue Apr 30 09:06:57 2013 +0000
Revision:
1:ed00e9c4ba6e
Parent:
0:62ac378df546
ooo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
akudohune 0:62ac378df546 1
akudohune 0:62ac378df546 2
akudohune 0:62ac378df546 3 Timer timer2;
akudohune 0:62ac378df546 4 Timer timer_ir;
akudohune 0:62ac378df546 5 DigitalIn Button(p25);
akudohune 0:62ac378df546 6 BusOut mbedleds(LED4,LED3,LED2,LED1);
akudohune 0:62ac378df546 7 Serial device2(p28, p27); // tx, rx
akudohune 0:62ac378df546 8 Serial device(p13, p14); // tx, rx
akudohune 1:ed00e9c4ba6e 9 //Serial pc(USBTX, USBRX); // tx, rx
akudohune 0:62ac378df546 10 TextLCD lcd(p5, p6, p10, p7, p9, p8);
akudohune 0:62ac378df546 11
akudohune 1:ed00e9c4ba6e 12 int AveDistance;
akudohune 1:ed00e9c4ba6e 13
akudohune 0:62ac378df546 14 extern uint16_t ultrasonicVal[4];
akudohune 0:62ac378df546 15 extern double ultrasonicValue[4];
akudohune 0:62ac378df546 16 extern int direction;
akudohune 0:62ac378df546 17 extern int Distance;
akudohune 0:62ac378df546 18 extern int IR_found;
akudohune 0:62ac378df546 19 extern void IR_Position(void);
akudohune 0:62ac378df546 20 extern void Ultrasonic(void);
akudohune 0:62ac378df546 21 extern void dev_rx(void);
akudohune 0:62ac378df546 22 extern void dev_tx(void);
akudohune 0:62ac378df546 23 extern void dev2_rx(void);
akudohune 0:62ac378df546 24 extern void dev2_tx(void);
akudohune 0:62ac378df546 25
akudohune 1:ed00e9c4ba6e 26 extern uint8_t data[4];
akudohune 1:ed00e9c4ba6e 27 extern uint8_t data2[5];
akudohune 1:ed00e9c4ba6e 28
akudohune 1:ed00e9c4ba6e 29 #define BAUD_RATE 19200