aa

Dependencies:   mbed

Revision:
20:eae8c84f318c
Parent:
19:96a462583af9
Child:
21:e3b58d675c1c
--- a/System/Process/Process.cpp	Tue Jul 16 06:48:51 2019 +0000
+++ b/System/Process/Process.cpp	Tue Aug 27 04:33:08 2019 +0000
@@ -62,6 +62,23 @@
 Ticker tapeLedTimer;
 //************TapaLed*****************
 
+/*************LineHub****************
+Serial linehubUart(PC_10,PC_11);
+char data[6];
+
+void LineRead()
+{
+    //__disable_irq();
+    if(linehubUart.readable()) {
+        for(int i=0; i<=5; i++) {
+            data[i] = linehubUart.getc();
+        }
+    }
+    //__enable_irq();
+}
+
+//*************LineHub****************/
+
 float tireProRPM[4];
 float tireTarRPM[4];
 float tirePWM[4];
@@ -187,6 +204,9 @@
 
 	while(1)
 	{
+		
+		pc.printf("aaa\n\r");
+		
 		if(LimitSw::IsPressed(10)) {
 			LED_DEBUG0 = LED_ON;
 		} else {