CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - printf.c
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - printf.c - List
[
ARM-PowerPC-ColdFire-MIPS
]
Example7
DL : 0
这个例子显示了如何重定向C库printf函数的USART。 在HyperTerminal使用USARTx本实施输出printf的消息。 USARTx可以是USART1的,USART2 USART3的选择要使用的USART接口 注释“#定义USE_USARTx的main.h 文件中的行。-This example shows how to retarget the C library printf function to the USART. This implementation output the printf message on the Hyperterminal using USARTx. USARTx can be USART1, USART2 or USART3 to select the USART interface to be used uncomment the #define USE_USARTx line in main.h file.
Date
: 2025-12-21
Size
: 14kb
User
:
baijia
[
ARM-PowerPC-ColdFire-MIPS
]
printf
DL : 0
实现类似于C语言标准函数printf()的简单printf打印。主要用于包含UART口的打印输出,代替标准的C库函数,减少对MCU的FLASH的占用,而又不失其基本功能,是在开发MCU时的好帮手。-Simple printf to print to achieve is similar to the C language standard function printf (). Mainly used for the printout contains the UART ports, instead of the standard C library functions, reducing the occupancy of the MCU FLASH, but without losing its basic functions, is a good helper in the development of an MCU.
Date
: 2025-12-21
Size
: 2kb
User
:
jplzl
[
ARM-PowerPC-ColdFire-MIPS
]
flasharm
DL : 0
s3c6410的裸机程序,实现了printf函数。lcd,uart等程序,初学者之至宝啊-the naked machine code in C language.for the initial code learner.
Date
: 2025-12-21
Size
: 37kb
User
:
fdsafsf
[
ARM-PowerPC-ColdFire-MIPS
]
实验12 OLED显示实验
DL : 1
硬件资源: 1,DS0(连接在PF9) 2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面) 3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A6接RS) 4,按键KEY0(PE4)/KEY1(PE3) 5,24C02(IIC连接在PB8/PB9上面) 实验现象: 本实验通过KEY1按键来控制24C02的写入,通过另外一个按键KEY0来控制24C02的读取。并在LCD模块上面显示 相关信息。同时,我们可以通过USMART控制在24C02的任意地址写入和读取数据。 注意事项: 1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源). 2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!!(Hardware resources: 1, DS0 (connection in PF9) 2, serial port 1 (baud rate: 115200, PA9/PA10 connection on board USB to serial port chip CH340 above) 3 inch TFTLCD ALIENTEK, 2.8/3.5/4.3/7 module (via FSMC driver, FSMC_NE4 LCD chip select /A6 RS) 4, button KEY0 (PE4) /KEY1 (PE3) 5,24C02 (IIC is connected on top of PB8/PB9))
Date
: 2025-12-21
Size
: 3.56mb
User
:
saifu2008
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.