全文预览

集成电路芯片测试仪

上传者:随心@流浪 |  格式:doc  |  页数:54 |  大小:3236KB

文档介绍
供芯片检测输出时使用Рsbit P17=P1^7; //定义引脚供芯片检测输出时使用Рsbit P33=P3^3; //定义引脚供芯片检测输出时使用Рsbit P34=P3^4; //定义引脚供芯片检测输出时使用Рsbit P35=P3^5; //定义引脚供芯片检测输出时使用Рsbit set14=P3^6; //设置14脚芯片的地Рsbit set16=P3^7; //设置14脚芯片的地Рunsigned char code table[15][8]={"74xx00","74xx02","74xx04","74xx08","74xx10",Р "74xx11","74xx20","74xx21","74xx27","74xx30","74xx74","74xx109","74xx245","74xx160","unknown"};Р#include "type.h"Р#include "LCD1602.h"Р#include "disp.h"Р#include "function.h"Рmain()Р{Р?unsigned char scantype,goodchip=1,i;Р?unsigned char bad[7]={' ',' ',' ',' ',' ',' ',' '};Р?LCD_Initial();Р?GotoXY(3,0);Р?Print("LING DONG");Р?scantype=setpin();//返回16,20脚芯片的芯片型号,并设置相应的地引脚Р?LCD_Write(MAND,LCD_CLEAR_SCREEN);//清屏Р?if(scantype==14)Р?{Р scantype=type();//重新扫描14脚的芯片型号Р?}Р?switch (scantype)Р {Р case 0:Р goodchip=chip7400(bad);

收藏

分享

举报
下载此文档