51单片连tcs230的源程序,绝对原创,可以记忆颜色。 #define uchar unsigned char #include <reg52.h> #include<math.h> sbit S0=P1^7 sbit S1=P1^0 //端口定义 sbit S2=P1^1 sbit S3=P1^2 sbit OE=P1^3 sbit OUT=P3^4 //频率从TO口输入 sbit key0=P1^5 sbit LED=P1^6 sbit a=P3^0 sbit b=P3^1 uchar color //1:blue 2:green 3:red uchar T[4] //color timer uchar TH[4] uchar TL[4] uchar bizhi[4] void time1() interrupt 3 { TH[color]=TH0 TL[color]=TL0 T[color]=(TH[color]*0xff+TL[color]) TR0=0 //关定时器 TR1=0 TH1=0xB1 TL1=0xE0 //归0 TH0=0x00 TL0=0x00 //归0 }
上传时间: 2016-11-26
上传用户:秦莞尔w
this book gives a detailed description of the widespread or recently used standards like Wi-Fi, Bluetooth, ZigBee, and WiMAX.
标签: description widespread standards detailed
上传时间: 2016-12-19
上传用户:youlongjian0
gcclib This gcc 1.40 suits for Linux kernel 0.11 - 0.95 Installtion hints ----------------- This suit contains include.taz, local.taz and this README file. You must download the bootimage and rootimage and install them first. The include.taz contains all the include files for using with gcc 1.40. The local.taz contains all the gcc tools & libs stored in two sepearted directories: /usr/local/lib /usr/local/bin You should copy the linux/ asm/ sys/ subdirectories into the include directory from the corresponding kernel source. Installation ------------ Goto the /usr directory. Untar the include.taz to the directory /usr/include. Untar the local.taz to the directory /usr/local. That s it! Example: -------- cd /usr tar zxvf include.taz tar zxvf local.taz
标签: Installtion gcclib kernel Linux
上传时间: 2014-03-12
上传用户:源码3
Linux Home Server 是专门为家庭和SOHO/SMB 设计的高性价比的ISCSI 存储服务器, 具有如下的特色: 强大的iscsi 存储服务器软件; 混合iscsi 和NAS 服务; Free, 基于Linux; LHS-200 的编译使用openwrt 框架,需要先下载并配置openwrt 开发环境 从openwrt 的开发站点 https://dev.openwrt.org, 下载最新的开发分枝,并下载到本地 svn co https://svn.openwrt.org/openwrt/trunk/ 为方便起见,建议下载所有的可选包,后面要用到 svn co https://svn.openwrt.org/openwrt/packages/ 从公司网站 http://www.linuxce.cn 或者 http://www.linuxce.net 下载 LHS-200 的最新源代码并解压缩,源代码中包含两个目录和一个README文件,按README文件的要求,拷贝下列包到trunk/package 目录 libs/libiconv net/samba3 utils/pciutils net/wget net/ctorrent libs/uclibc++ 然后从解压缩的源代码中分别拷贝目录modified 和lhstoolfix中的内容到trunk 目录 至此,就可以象通常的openwrt 项目一样进行编译, Target System 选 "RDC 321x", Target Profile 选 "R3210 based linux home server board"
上传时间: 2017-02-09
上传用户:xaijhqx
IEC 62056 的很有价值的参考文档,包括: DLMS UA 1000-1 ed.8, Blue book, COSEM Identification System and Interface Classes DLMS UA 1000-2 ed.6, Green book, DLMS/COSEM Architecture and Protocols DLMS UA 1001-1 ed.3,Yellow book, DLMS/COSEM Conformance Testing Proce
上传时间: 2017-02-18
上传用户:小眼睛LSL
一个基于spring,stucts2,hiberater架构的开发者网站,在eclipse7 blue版测试通过,服务器tomcat6,数据库mysql5.
标签: spring
上传时间: 2017-06-08
上传用户:R50974
RGB,三原色光模式(英语:RGB color model),又称RGB颜色模型或红绿蓝颜色模型,是一种加色模型,将红(Red)、绿(Green)、蓝(Blue)三原色的色光以不同的比例相加,以产生多种多样的色光。RGB颜色模型的主要目的是在电子系统中检测。
标签:
上传时间: 2015-06-14
上传用户:lxy123
RGB,三原色光模式(英语:RGB color model),又称RGB颜色模型或红绿蓝颜色模型,是一种加色模型,将红(Red)、绿(Green)、蓝(Blue)三原色的色光以不同的比例相加,以产生多种多样的色光。RGB颜色模型的主要目的是在电子系统中检测
标签:
上传时间: 2015-06-14
上传用户:lxy123
基础教程,亲测好用,寄存器级编程!希望对大家有帮助!示例中用到的芯片是STM32F103C8,blue pill 小板,oled 为i2c接口。
上传时间: 2021-10-25
上传用户:
FPGA采样AD9238数据并通过VGA波形显示例程 Verilog逻辑源码Quartus工程文件+文档说明,FPGA型号Cyclone4E系列中的EP4CE6F17C8,Quartus版本17.1。ADC 模块型号为 AN9238,最大采样率 65Mhz,精度为12 位。实验中把 AN9238 的 2 路输入以波形方式在 HDMI 上显示出来,我们可以用更加直观的方式观察波形,是一个数字示波器雏形。module top( input clk, input rst_n, output ad9238_clk_ch0, output ad9238_clk_ch1, input[11:0] ad9238_data_ch0, input[11:0] ad9238_data_ch1, //vga output output vga_out_hs, //vga horizontal synchronization output vga_out_vs, //vga vertical synchronization output[4:0] vga_out_r, //vga red output[5:0] vga_out_g, //vga green output[4:0] vga_out_b //vga blue);wire video_clk;wire video_hs;wire video_vs;wire video_de;wire[7:0] video_r;wire[7:0] video_g;wire[7:0] video_b;wire grid_hs;wire grid_vs;wire grid_de;wire[7:0] grid_r;wire[7:0] grid_g;wire[7:0] grid_b;wire wave0_hs;wire wave0_vs;wire wave0_de;wire[7:0] wave0_r;wire[7:0] wave0_g;wire[7:0] wave0_b;wire wave1_hs;wire wave1_vs;wire wave1_de;wire[7:0] wave1_r;wire[7:0] wave1_g;wire[7:0] wave1_b;wire adc_clk;wire adc0_buf_wr;wire[10:0] adc0_buf_addr;wire[7:0] adc0_bu
上传时间: 2021-10-27
上传用户:qingfengchizhu