⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainsw.#2

📁 ad转换的程序
💻 #2
字号:
/*=========================================================================================
                                        SW2000 ROUTINE
===========================================================================================
Copyright: eefhedut tianjin.

AUTH: GZG.
DATE: 30th jul 02.

COMENT: This program show the main routine and some interrupt routine that are timer3 uart1 
and time1.Timer3 is used for the real timer, and time1 for ad.
         
		 P0.0----TX0       p0.1----RX0       P0.2----TX1      P0.3----RX1
		 P0.4----DIN       P0.5----UNCO      P0.6----CLK      P0.7----DOUT
		 
		 P1.0----DI        P1.1----E         P1.2----LED+     P1.3----KEY1
		 P1.4----KEY2      P1.5----KEY3      P1.6----KEY4     P3.7----WR     
		 P1.7----AD7705CS  P2.0----DB0       P2.2----DB1      P2.3----DB2 
		 P2.4----DB3       P2.5----DB4       P2.6----DB6      P2.7----DB7    
		             
		 
		 P3.0----DREADY    P3.1----485 1     P3.2----485 2    P3.3    K1
		 P3.4----K2        P3.5----K3        P3.6----K4       

TARGET:      C8051F021		     
TOOL CHAIN : KEIL6.20 FULL VETION
===========================================================================================*/
/*--------------------------------INCLUDE--------------------------------------------------*/
#include <c8051f020.h>
/*--------------------------------FUNCTION DECLAREING--------------------------------------*/
extern void initsys(void);	
extern void init_lcd(); 
extern void displcd();


/*----------------------------------------------------------------------------------------
AUTH: GZG
DATE: 
COMMENT: MAIN ROUTINE.
------------------------------------------------------------------------------------------*/
void main(void)
	{
	  initsys();
	  init_lcd();
      displcd();
   	}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -