![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LG2 by
Diff: console.c
- Revision:
- 1:f2adcae3d304
- Parent:
- 0:8ad47e2b6f00
- Child:
- 12:74bd0ecf7f83
--- a/console.c Sat Jan 30 13:00:39 2016 +0000 +++ b/console.c Sat Jan 30 13:53:19 2016 +0000 @@ -1,6 +1,7 @@ -#include "console.h" -#include "lpc17xx.h" -#include "CyclesSync.h" +#include "Global.h" + + + #define FOSC 12000000 #define FCCLK (FOSC * 8) @@ -30,7 +31,7 @@ void UART0_Init_m (void)///�������������� �������� ����� - +{ uint16_t usFdiv; /* UART0 */ LPC_PINCON->PINSEL0 |= (1 << 4); /* Pin P0.2 used as TXD0 (Com0) */