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