搜索资源列表
COLOCK
- 一個很好用的 lcd 時鐘程序 C語言 #include<reg51.h> #include<stdio.h> //定義計時器0 的重裝值 #define RELOAD_HIGH 0x3C #define RELOAD_LOW 0xD2 //定義按鍵彈跳時間 #define DB_VAL //定義設置模式的最大時間間隔 #define TIMEOUT 200 //定義游標位置常數 #define HOME 0 #define
STCchuankougps
- #include <reg52.h> #include <stdio.h> #include <string.h> #define uchar unsigned char #define uint unsigned int #define isp_iap_byte_read 0x1 #define isp_iap_byte_program 0x2 #define isp_iap_sector_erase 0x3 #defi
serias_
- 对读入一个字节(不带回车)读入一个字符串带回车,发送字符串函数测试成功 由于不清楚keil自带的STDIO.H函数是否是堵塞发送接受,所以本程序使用非堵塞方式发送接受,缺点是占 用一些内存,缓冲区大小可自由配置。
UART_c8051f340
- c8051f340 串口 程序This program demonstrates how to configure the C8051F340 to use routines in STDIO.h to write to and read from the UART interface. The program reads a character using the STDIO routine getkey(), outputs that character to the scre
cpdu
- 简单最短寻道跟电梯算法,用C++编译 #include \"stdio.h\" #include \"stdlib.h\" #include <iostream.h>
F41x_UART_STDIO
- C8051F410串口通信程序。。上位机发送一个字符,下位机把这个字符再发回,并再以十六进制再发一次。-Program Descr iption: This program demonstrates how to configure the C8051F410 to use routines in STDIO.h to write to and read from the UART interface. The program reads a character using
2410-fs-ldqmoon
- 这个是我调通的在2410下运行文件系统的程序. 用2410驱动sd卡来实现fat文件系统. 欢迎大家来测试. 用法很简单, 如下 FILE *fp // 文件指针 unsigned char temp[24]="3.wav" // 文件明需要放在数组里 while(!initialize_media()) // 初始化sd卡 { Uart_Printf("sd initializing....\n") } Uart_Printf(
watchdog
- watchdog 这是一个例程!可以参考一下!-#include <errno.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <sys/io.h> #include <sys/time.h> #include <sys/types.h> #include <unistd.h>
Cmicroblaze
- #include "xgpio_l.h" #include "xutil.h" --- ----- #include "xparameters.h" #include "xgpio_l.h" #include "xutil.h" #include <stdio.h> #include <fcntl.h> int main (void)-#include "xgpio_l.h" #include "xutil.h" -----
duk
- 读卡器读卡程序,起始位及卡号是在一行里。-#include <stdio.h>
AD-PIC16F72
- /这是一个两路交流信号的AD转换,然后和标准比较决定输出大于标准的那一路,默认输出A路 #include <pic.h> #include <math.h> #include <stdio.h> bank1 int re0[40] //定义存放A/D转换结果的数组,在bank0中 bank1 int re1[40] //定义存放A/D转换结果的数组,在bank1中-/ This is a two way exchange of
asimpledigitalfrequencymeterBasedonPIC16F87A
- //本程序利用CCP1模块实现一个“简易数字频率计”的功能 #include <pic.h> #include <stdio.h> #include <math.h> const char table[11]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0XD8,0x80,0x90,0xFF}; //不带小数点的显示段码表 -//CCP1 module for use in this process a &q
GPS
- 基于ARM的GPRS车载系统源程序 /******************************************************************************* ** Function: Get GPS Communication Port from GPSPort.ini ** ** In: char buffer ** ** Out: set the char buffer ** ** Date: 2007-8-1 Autho
c
- //-----湿度读取子程序 --- --- //--- --- --- --- --- -- //----以下变量均为全局变量-------- //----温度高8位== U8T_data_H------ //----温度低8位== U8T_data_L------ //----湿度高8位== U8RH_data_H----- //----湿度低8位== U8RH_data_L----- //----校验 8位 == U8checkdata----
std-print-usartlpc2378
- working with usart lpc2378 by stdio.h functions.
F93x_UART0_STDIO
- This program demonstrates how to configure the C8051F930 to use routines in STDIO.h to write to and read from the UART interface. The program reads a character using the STDIO routine getkey(), outputs that character to the screen, and then outpu
CC2530
- CC2530芯片采集外界数据并转换#include "ioCC2530.h" #include "initUART_Timer.h" #include "stdio.h" -CC2530 ad
DSPchufa
- 在dsp上的除法实现,#include<c8051f320.h> #include<stdlib.h> #include<stdio.h> #include<math.h> -In the division on DSP realize,# include < c8051f320. H > # include < stdlib. H > # include < stdio. H > #
support
- #include <string.h> #include <stdio.h> /* ======================================================================== */ /* MEM_COMPARE -- Compare two memory images and output a detailed dump if */ /* the images differ. */ /* =====
m_GPS
- GPS模块单片机驱动程序#include "stdio.h" #include "mriext.h" #include "serial.h" #include "protocol.h" #include "primitiv.h" #include "database.h" #include "rassign.h" #include "iohw.h" #define CH_REC -Single-chip driver of GPS module GPS modul