Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - printf.c
Search - printf.c - List
DL : 0
The project KEIL_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the Keil ARM toolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module. The example also shows the efficiency of the Keil CA ARM Compiler run-time library which is tuned for single chip systems. -The project shows how to use me mory allocation routines (malloc) and char I/O (printf, Scanf) via a serial interface with the Keil ARM t oolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIA Synchronization module. The example also shows the efficien cy of the CA Keil ARM Compiler run-time library w hich is tuned for single chip systems.
Date : 2025-12-21 Size : 19kb User : 郭文彬

DL : 0
UART I/O and Memory Allocation Example for GNU The project GNU_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the GNU toolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module. The example also shows the efficiency of the Keil CA ARM Compiler run-time library which is tuned for single chip systems.-UART I/O and Memory Allocation for Example The GNU project GNU_IODemo shows how to use memo ry allocation routines (malloc) and char I/O (p rintf. Scanf) via a serial interface with the GNU toolc DERA. The I/O functions are adapted for the Anal og Devices ADuC7000 series using the SERIAL.C m odule. The example also shows the efficiency of the Keil CA ARM Compiler run-time library which is tuned for single chip systems.
Date : 2025-12-21 Size : 42kb User : 郭文彬

DL : 0
自己写的C语言代码用来实现printf,经典的就是经典,可以随便拿来用-Write your own C language code used for printf, the classic is a classic, can be used with
Date : 2025-12-21 Size : 1kb User :

DL : 0
液晶显示屏显示程序示例及汉字字模提取程序。示例程序中包含一个类似于printf的子程序可方便地显示字符串。字模提取程序会自动从单片机C程序中提取所包含的汉字的字模,生成示例子程序所需要的小字库。-LCD screen and Chinese character display program sample matrix extraction procedure. Examples of programs include a subroutine similar to printf the string can be easily displayed. Matrix extraction process automatically from the single-chip C extraction process of Chinese characters contained in matrix to generate the required sample subroutine small font.
Date : 2025-12-21 Size : 374kb User : liwen

DL : 0
实现了标准C语言库函数printf scanf功能,只需要提供字符串输出函数和字符串输入函数即可使用。-The realization of the standard C language library function printf scanf function, only need to provide the string output functions and string input function to use.
Date : 2025-12-21 Size : 1kb User :

本文件夹是为用户提供的codeworrior编程范例,旨在通过给出的范例使用户对odeworrior的使用有所了解。 其中: "CAN0 CAN4 C"是CAN0和CAN4通讯的程序。用户可参照此例程设置MSCAN模块。 "LED"是《开发套件使用文档》中创建的codewarrior工程。 "Port ucosii V252"是嵌入式操作系统uC/OS-II在DP256/DG128上移植的范例。 "printpp"是帮助用户调试的一个工具,它相当于C提供的printf函数,但它的输出设备是串口。 "SendA"通过调用监控程序,向串行口发送字符“A”。 -This folder is to provide users with the codeworrior programming paradigm aims to give an example so that users understand the use of odeworrior. Of which: CAN0 CAN4 C is CAN0 and CAN4 communications procedures. Users can set up the light of this routine MSCAN module. LED is development kit to use the document to create the CodeWarrior project. Port ucosii V252 is the embedded operating system, uC/OS-II in the transplant DP256/DG128 examples. printpp is to help users debug a tool, it provided the equivalent of C function printf, but it is a serial output device. SendA by calling the monitoring program, to the serial port to send the characters A .
Date : 2025-12-21 Size : 223kb User : zjh

液晶 OCM/TG240128 驱动 编程语言: C 原产品硬件ATMega128/1280 ,晶振14.7456M 软件AVR ICC7.14C 破解版 由产品源码中提取,详细的字符和图行操作.实现LCD内任何位置的定位操作. void LCD_Init(void) void GMoveTo(U8 yline, U8 xcolumn) void TMoveTo(U8 y, U8 x,U8 len) void DispStartLine(U8 gt, U8 line) void LCD_ClrRam (void) void LCD_ON(unsigned char on) void Draw_Pixel(U8 x, U8 y) void LineTo(U8 x0, U8 y0, U8 x1, U8 y1) void Draw_Line(unsigned char x0, unsigned char y0, unsigned char yl) void disp_img(unsigned int x0, unsigned int y0, unsigned int xl, unsigned int yl, const U8 *img) void DispString(unsigned char x, unsigned char y, char* string) void Printf(U8 x, U8 y, char *fmt, ...) ...... -LCD driver OCM/TG240128 programming languages: C original hardware products ATMega128/1280, crystal 14.7456M software cracked version of AVR ICC7.14C extracted from the product source code, detailed characters and map line operations. The realization of LCD in the positioning of any location operation. void LCD_Init (void) void GMoveTo (U8 yline, U8 xcolumn) void TMoveTo (U8 y, U8 x, U8 len) void DispStartLine (U8 gt, U8 line) void LCD_ClrRam (void) void LCD_ON (unsigned char on) void Draw_Pixel (U8 x, U8 y) void LineTo (U8 x0, U8 y0, U8 x1, U8 y1) void Draw_Line (unsigned char x0, unsigned char y0, unsigned char yl) void disp_img (unsigned int x0, unsigned int y0, unsigned int xl, unsigned int yl, const U8* img) void DispString (unsigned char x, unsigned char y, char* string) void Printf (U8 x, U8 y, char* fmt, ...) ......
Date : 2025-12-21 Size : 11kb User :

DL : 0
移植uip-1.0到Atmega32 1)把 uip-1.0 的所有文件加入到工程,包括 uip 目录的文件(除uip-split.c)、unix 目录的文件、lib 目录的文件; 2)修改 uip/uip-neighbor.c 文件的 void uip_neighbor_add(uip_ipaddr_t ipaddr, struct uip_neighbor_addr *addr) 函数,一般注释掉 printf 语句即可,或者改为你自己的串口格式化打印实现。 3)uip 目录里的源文件除 uipopt.h 外一般都无需修改;uipopt.h 包含了 uip-conf.h ,所以大部分修改可以在 uip-conf.h 里进行。 uip-conf.h 里加入如下定义,可以减少编译的警告: #define notdef 0 #define UIP_CONF_IPV6 0 #define UIP_ARCH_ADD32 0 #define UIP_ARCH_CHKSUM 0 #define UIP_NEIGHBOR_CONF_ADDRTYPE 0 4)移植工作主要是 定时器中断程序 与 网络驱动 的编写-1) to the uip-1.0 added to the works of all documents, including documents uip directory (except uip-split.c), unix file directories, lib directories of documents 2) Revise the uip/uip-neighbor.c documents void uip_neighbor_add (uip_ipaddr_t ipaddr, struct uip_neighbor_addr* addr) Function printf statements generally can be commented out or changed to your own print serial format to achieve. 3) uip the source file directory in addition to uipopt.h generally no need to change things uipopt.h contains uip-conf.h, most modifications can be uip-conf.h conducted. uip-conf.h to add the following definition, can reduce the compiler warning: # define notdef 0 # define UIP_CONF_IPV6 0 # define UIP_ARCH_ADD32 0 # define UIP_ARCH_CHKSUM 0 # define UIP_NEIGHBOR_CONF_ADDRTYPE 0 4) transplantation is a timer interrupt work process with the preparation of a network drive
Date : 2025-12-21 Size : 411kb User : yuangaoping

名称:amo的编程小工具集合版本:V1.2.6 我平时编程和设计时常用的小工具集合。功能: 1-8位校验和 2-16位校验和 3-计算CRC8 4-计算CRC16 5-计算CRC32 6-计算MD5 7-计算SHA1 8-十六进制字符串转换为Ascii字符串 9-Ascii字符串转换为十六进制字符串 10-十六进制字符串转换为浮点数 11-浮点数转换为十六进制字符串 12-统计文章的字符个数,精确到每一个字符 13-把文件转换为C语言数组(这样可以把文件嵌入到我们的程序中) 14-电阻值选型(开发中) 15-电容值选型(开发中) 16-电感值选型(开发中) 17-滤波器选型(开发中) 18-执行C语言Printf函数(开发中) 19-产生一组随机数 20-把字符串转换为大写 21-把字符串转换为小写 22-字符串头尾对调 23-十六进制格式转换 …… 功能陆续添加中…… amo73@126.com -Name: amo programming a small collection of tools version: V1.2.6 my usual programming and design a small collection of tools commonly used. Features: 1-8 and 2-16 bit parity bit parity and 3- Calculation CRC8 4- calculating CRC16 5- calculation of CRC32 6- calculation of MD5 7- calculate SHA1 8- 16 hex string is converted to Ascii string 9-Ascii string to hexadecimal string is converted to 10- hexadecimal string is converted to floating-point number 11- floating-point number is converted to hexadecimal strings 12- the number of characters in the article statistics, accurate to each character 13- the file is converted to C-array (so that files can be embedded into our program) 14- Resistance Selection (Developing) 15- capacitance Selection (Developing) 16- Inductance Selection (Developing ) 17- Filter Selection (Developing) 18- implementation of the C-Printf function (development) 19- produce a set of random numbers 20- to convert a string to uppercase 21- to convert a string to lowerc
Date : 2025-12-21 Size : 40kb User : amo

DL : 0
本文件夹是为用户提供的codeworrior编程范例,旨在通过给出的范例使用户对codeworrior的使用有所了解。 其中: "LED"是用定时器模块写的一个跑马灯。 "printpp"是帮助用户调试的一个工具,它相当于C提供的printf函数,但它的输出设备是串口。 -This folder is to provide users with codeworrior programming paradigm, designed to enable users by giving examples of the use of codeworrior understand. Of which: " LED" is written in a marquee timer module. " Printpp" is a tool to help users debug, it provided the equivalent of C printf function, but its output device is a serial port.
Date : 2025-12-21 Size : 525kb User : 郭冰冰

DL : 0
数据采集显示,AD显示,按键控制显示,基于c编写-date keyboard printf
Date : 2025-12-21 Size : 28kb User : qujian

AVR的库C程序源代码,功能包括 Timer(s),Uart(s),A/D Converter,I2C Master/Slave,SPI Interface,Byte Buffering (circular),Bit Buffering (linear),Printf and other formatted print functions,VT100 Terminal Output,Command Line Interface,FAT16/32 File System (support is read-only for now),STX/ETX Packet Protocol,Fixed-Point Math Library (basic operations only)等-C-Language Function Library for Atmel AVR Processors
Date : 2025-12-21 Size : 1.32mb User : Andy

UART串口2 Printf程序单片机时钟设置,在这个阶段,已经配置, 这是通过SystemInit()函数从启动名为 文件(startup_stm32f10x_xx.s),然后跳转到应用程序的主。 重新配置SystemInit的默认设置()函数,请参阅 system_stm32f10x.c文件-UART serial port 2 Printf program At this stage the microcontroller clock setting is already configured, this is done through SystemInit() function which is called from startup file (startup_stm32f10x_xx.s) before to branch to application main. To reconfigure the default setting of SystemInit() function, refer to system_stm32f10x.c file
Date : 2025-12-21 Size : 1.87mb User : fucongcong

DL : 0
STM32串口用C标准输出函数printf-STM32 serial output using standard C function printf
Date : 2025-12-21 Size : 1kb User : 黄易

STM32F4串口程序,重定向C语言标准库函数pritnf和scanf到STM32F4的串口,这样程序中就可以使用printf和scnaf来做人机交互.-STM32F4 serial program, redirect C language standard library functions pritnf and scanf to STM32F4 serial, so the program can use printf and scnaf do human-computer interaction.
Date : 2025-12-21 Size : 1kb User : 徐亚飞

DL : 0
本例程移实现SD卡虚拟U盘功能。本例程的源代码主要来自于ST的USB固件库中的范例。 程序功能有: (1) 输入字符1,软件移除U盘设备。 (2) 输入字符2,软件重新使能U盘设备。 在工程配置中,需要添加2个固件库中用到的预编译宏:USE_USB_OTG_FS,USE_EMBEDDED_PHY 如果需要跟踪USB通信过程,可以修改2行宏定义 : (a) usbd_usr.c 文件开头 //#define usb_printf printf 选择这行将打印调试信息到串口。 #define usb_printf(...) (b) usbd_storage_msd.c 文件开头 //#define mass_printf printf 选择这行将打印调试信息到串口。 #define mass_printf(...) 【说明:该例程在Flash运行正常,在内部RAM 运行需要将变量定位在 0x20010000 空间,不能使用0x1000 0000空间】-This routine shift implement virtual U disk function SD card. The source for the routine mainly ST' s USB firmware library paradigm. Program features include: (1) Input Character 1, U disk device software is removed. (2) Enter the character 2, the software re-enable the U disk device. In the project configuration, you need to add two firmware library use precompiled macros: USE_USB_OTG_FS, USE_EMBEDDED_PHY USB communication process if you need to track, you can modify the 2-line macro definition: (a) at the beginning of usbd_usr.c file //# define usb_printf printf selection This line will print debug information to the serial port. beginning usbd_storage_msd.c file#define usb_printf (...) (b) //# define mass_printf printf choose this line will print debug information to the serial port.#define mass_printf (...) [Note: This routine Flash is operating normally, the internal RAM required for the operation of the variable positioning 0x20010000 space, the space can not be used 0x1000 0
Date : 2025-12-21 Size : 4kb User : 陈启康

DL : 0
实验器材: 战舰STM32F103开发板V3版本 实验目的: 学习NRF24L01 2.4G无线模块的使用. 硬件资源: 1,DS0(连接在PB5) 2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面) 3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A10接RS) 4,KEY0按键(连接在PE4)/KEY1按键(连接在PE3) 5,NRF24L01模块(SPI2(PB13/PB14/PB15)/IRQ(PG6)/CS(PG7)/CE(PG8)). 实验现象: 本实验开机后,先检测NRF24L01模块是否存在,在检测到NRF24L01模块之后,根据KEY0和KEY1的设置来决定 模块的工作模式,在设定好工作模式之后,就会不停的发送/接收数据,同样用DS0来指示程序正在运行。 注意事项: 1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源). 2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!! 3,需自备NRF24L01模块2个,战舰STM32开发板2块 4,NRF24L01模块插在开发板U4位置(朝外插). 5,本实验需要2套ALIENTEK开发板才可以正常测试!!!!!!一块做发送,一块做接收.-Experimental equipment: Battleship STM32F103 Development Board V3 version experiment: learning to use NRF24L01 2.4G wireless module hardware resources:. 1, DS0 (connected to PB5) 2, 1 serial port (baud rate: 115200, PA9/PA10 connections onboard USB to serial chip CH340 above) 3, ALIENTEK 2.8/3.5/4.3/7 inch TFTLCD module (via FSMC drive, FSMC_NE4 connected LCD chip select/A10 connection RS) 4, KEY0 button (connected to PE4)/KEY1 button (connected to . PE3) 5, NRF24L01 module (SPI2 (PB13/PB14/PB15)/IRQ (PG6)/CS (PG7)/CE (PG8)) experimental phenomena: the boot after this experiment, the first detection of the presence or absence NRF24L01 module, detects After NRF24L01 module, according to KEY0 and KEY1 settings to determine the operating mode module after setting the operating mode, it will stop sending/receiving data, the same DS0 to indicate the program is running. Note: 1,4.3 inch and 7-inch screen requires a relatively large current, USB supply may be insufficient, please use an exter
Date : 2025-12-21 Size : 2.83mb User : 吴宇轩

DL : 0
实验目的: 学习STM32模拟IIC的使用,驱动24C02实现EEPROM数据读写. 硬件资源: 1,DS0(连接在PB5) 2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面) 3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A10接RS) 4,按键KEY0(PE4)/KEY1(PE3) 5,24C02(IIC连接在PB6/PB7上面) 实验现象: 本实验通过KEY1按键来控制24C02的写入,通过另外一个按键KEY0来控制24C02的读取。并在LCD模块上面显示 相关信息。同时,我们可以通过USMART控制在24C02的任意地址写入和读取数据。 注意事项: 1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源). 2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!! -Experimental equipment: Battleship STM32F103 Development Board V3 version Purpose: Learning STM32 use of simulation IIC, drive 24C02 EEPROM data read and write hardware resources to achieve:. 1, DS0 (connected to PB5) 2, 1 serial port (baud rate: 115200, PA9/PA10 connected to the onboard USB to serial chip CH340 above) 3, ALIENTEK 2.8/3.5/4.3/7 inch TFTLCD module (via FSMC drive, FSMC_NE4 connected LCD chip select/A10 connection RS) 4, button KEY0 (PE4)/KEY1 (PE3) 5,24C02 (IIC connection PB6/PB7 above) experimental phenomena: In this study, KEY1 keys to control the write 24C02 by another KEY0 buttons to control the read 24C02. And displays information on the LCD module above. At the same time, we can control by USMART 24C02 any address in writing and reading data. Note: 1,4.3 inch and 7-inch screen requires a relatively large current, USB supply may be insufficient, please use an external power adapter (12V 1A external power supply recommended) 2, this routine LCD_Init function inside
Date : 2025-12-21 Size : 364kb User : 吴宇轩

STM32F103 UART配置,实现C语言printf功能(STM32F103 UART configuration, implement the C language printf function)
Date : 2025-12-21 Size : 305kb User : haohaoxin666

ADC examples 3 & 4 updated DEBUG example Example modified to support RIDE specific printf function implementation I2C example5 i2c_ee.c: add the following function prototypes: "void GPIO_Configuration(void)" add "void I2C_Configuration(void)" Add GPIO pin toggle example. BKP, CAN, DMA, NVIC and I2C examples readme files updated. Use decimal (instead of hexadecimal) values constants in TIM, TIM1 and IWDG examples. USART
Date : 2025-12-21 Size : 21.5mb User : ROCKYL8
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.