serialmain.c
来自「深圳英蓓特公司LPC23XX开发板配套光盘示例程序。」· C语言 代码 · 共 23 行
C
23 行
/******************************************************************************/
/* BLINKY.C: LED Flasher */
/******************************************************************************/
/* This file is part of the uVision/ARM development tools. */
/* Copyright (c) 2005-2006 Keil Software. All rights reserved. */
/* This software may only be used under the terms of a valid, current, */
/* end user licence from KEIL for a compatible version of KEIL software */
/* development tools. Nothing else gives you the right to use this software. */
/******************************************************************************/
#include <stdio.h>
#include <LPC23xx.H> /* LPC23xx definitions */
/* Import external functions from Serial.c file */
extern void init_serial (void);
int main (void) {
char s[]="welcome";
init_serial(); /* Init UART */
printf ("%s\n\r", s);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?