EEPROM為ATMEL公司的AT24C01A。單片機(jī)為ATMEL公司的AT89C51。2. 軟件說明 C語言為Franklin C V3.2。將源程序另存為testi2c.c,用命令C51 testi2c.cL51 TESTI2C.OBJOHS51 TESTI2C編譯,連接,得到TESTI2C.HEX文件,即可由編程器讀入并進(jìn)行寫片,實(shí)驗(yàn)。3.源程序#include <reg51.h>#include <intrins.h> #define uchar unsigned char#define uint unsigned int#define AddWr 0xa0 /*器件地址選擇及寫標(biāo)志*/#define AddRd 0xa1 /*器件地址選擇及讀標(biāo)志*/#define Hidden 0x0e /*顯示器的消隱碼*/
上傳時(shí)間: 2013-10-09
上傳用戶:hjshhyy
買的開發(fā)板上帶的52個(gè)應(yīng)用于實(shí)物的程序,希望對大家有幫助
標(biāo)簽: 單片機(jī)開發(fā)板 c語言 程序 源代碼
上傳時(shí)間: 2013-11-04
上傳用戶:xymbian
二: 普通計(jì)算器的設(shè)計(jì)說明: 1 普通計(jì)算器的主要功能(普通計(jì)算與逆波蘭計(jì)算): 1.1主要功能: 包括 a普通加減乘除運(yùn)算及帶括號的運(yùn)算 b各類三角與反三角運(yùn)算(可實(shí)現(xiàn)角度與弧度的切換) c邏輯運(yùn)算, d階乘與分解質(zhì)因數(shù)等 e各種復(fù)雜物理常數(shù)的記憶功能 f對運(yùn)算過程的中間變量及上一次運(yùn)算結(jié)果的儲存. G 定積分計(jì)算器(只要輸入表達(dá)式以及上下限就能將積分結(jié)果輸出) H 可編程計(jì)算器(只要輸入帶變量的表達(dá)式后,再輸入相應(yīng)的變量的值就能得到相應(yīng)的結(jié)果) I 二進(jìn)制及八進(jìn)制的計(jì)算器 j十六進(jìn)制轉(zhuǎn)化為十進(jìn)制的功能。 *k (附帶各種進(jìn)制間的轉(zhuǎn)化器)。 L幫助與階乘等附屬功能
標(biāo)簽: 運(yùn)算 1.1 計(jì)算器 計(jì)算
上傳時(shí)間: 2013-11-26
上傳用戶:yzy6007
利用RTOS機(jī)制實(shí)現(xiàn)機(jī)械系統(tǒng)中的質(zhì)量,阻尼等...也可利用鍵盤輸入m,k,c,來改變sin波的位移量
上傳時(shí)間: 2014-01-11
上傳用戶:13517191407
經(jīng)典c程序100例==1--10 【程序1】 題目:有1、2、3、4個(gè)數(shù)字,能組成多少個(gè)互不相同且無重復(fù)數(shù)字的三位數(shù)?都是多少? 1.程序分析:可填在百位、十位、個(gè)位的數(shù)字都是1、2、3、4。組成所有的排列后再去 掉不滿足條件的排列。 2.程序源代碼: main() { int i,j,k printf("\n") for(i=1 i<5 i++) /*以下為三重循環(huán)*/ for(j=1 j<5 j++) for (k=1 k<5 k++) { if (i!=k&&i!=j&&j!=k) /*確保i、j、k三位互不相同*/ printf("%d,%d,%d\n",i,j,k) }
上傳時(shí)間: 2014-01-07
上傳用戶:lizhizheng88
S3C44B0X晶片的BOOTLOADER,結(jié)構(gòu)簡單易懂,具有TFTP下載功能,使用ads運(yùn)行。
標(biāo)簽: BOOTLOADER S3C44B0X 晶片
上傳時(shí)間: 2015-03-31
上傳用戶:我們的船長
本程序是用c++實(shí)現(xiàn)的多功能文本編輯器,它除了可以實(shí)現(xiàn)一般文本的編輯功能,還增加了保存文檔a(save), 轉(zhuǎn)為大寫m(large),改為小寫k(small),復(fù)制段j(copy),中英文轉(zhuǎn)換t(language)等功能
上傳時(shí)間: 2013-12-23
上傳用戶:wuyuying
C51編寫的1602液晶片驅(qū)動程序,是C語言編寫的!
上傳時(shí)間: 2014-11-22
上傳用戶:
Title: STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library (2nd Edition) Author: David R. Musser / Gillmer J. Derge / Atul Saini / Gilmer J. Derge Publisher: Addison-Wesley Page: 560 Edition: 2nd edition (March 27, 2001) Format: PDF Summary: The Standard Template Library was created as the first library of genetic algorithms and data structures, with four ideas in mind: generic programming, abstractness without loss of efficiency, the Von Neumann computation model, and value semantics. This guide provides a tutorial, a description of each element of the library, and sample applications. The expanded second edition includes new code examples and demonstrations of the use of STL in real-world C++ software development it reflects changes made to STL for the final ANSI/ISO C++ language standard.
標(biāo)簽: Programming Reference Standard Template
上傳時(shí)間: 2014-01-19
上傳用戶:netwolf
加密算法 Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives: - To generate an RSA key cryptest g - To encrypt and decrypt a string using RSA cryptest r - To calculate MD5, SHS, and RIPEMD-160 message digests: cryptest m file - To encrypt and decrypt a string using DES-EDE in CBC mode: cryptest t - To encrypt or decrypt a file cryptest e|d input output - To share a file into shadows: cryptest s <pieces> <pieces-needed> file (make sure file has no extension, if you re running this under DOS) - To reconstruct a file from shadows: cryptest j output file1 file2 [....] - To gzip a file: cryptest z <compression-level> input output - To gunzip a file: cryptest u input output - To run validation tests: cryptest v - To run benchmarks: cryptest b [time for each benchmark in seconds]
標(biāo)簽: Cryptographic Primitives generate Library
上傳時(shí)間: 2015-07-16
上傳用戶:wqxstar
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1