fork

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
47:d902ef6f7564
Parent:
30:17c84ed091b3
Child:
91:a2bb81eaa183
--- a/el_lin.c	Wed Feb 10 03:02:35 2016 +0000
+++ b/el_lin.c	Wed Feb 10 14:06:57 2016 +0000
@@ -363,8 +363,11 @@
 #endif
     LPC_SC->PCONP |= (1<<4);	 //switch on UART1
 
-    LPC_PINCON->PINSEL4 |=  (2<<0)|(2<<2)|(2<<10)|(2<<14); //P2.0, P2.1, P2.5, P2.7
+ //   LPC_PINCON->PINSEL4 |=  (2<<0)|(2<<2)|(2<<10)|(2<<14); //P2.0, P2.1, P2.5, P2.7
+   LPC_PINCON->PINSEL4 |=  (2<<0)|(2<<2); //P2.0, P2.1, P2.5, 
 
+ 
+ 
     pclk = SystemCoreClock/4;
 
     LPC_UART1->LCR  = word_length_8 |one_stop_bit |no_parity |back_trans_dis |DLAB_access;