我的光立方程序.doc_第1页
我的光立方程序.doc_第2页
我的光立方程序.doc_第3页
我的光立方程序.doc_第4页
我的光立方程序.doc_第5页
已阅读5页,还剩17页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

#include#define uchar unsigned charuchar t,i,k,a,s;sbit d1=P04;sbit d2=P06;sbit q0=P00;sbit q1=P01;sbit q2=P02;sbit q3=P03;sbit key=P05;void delay(uchar z)uchar x,y;for(x=z;x0;x-)for(y=11;y0;y-);void yi()P0=0xff;d1=0;d2=1;P1=0xa5;delay(8);P1=0xb5;delay(8);P1=0xc5;delay(8);P1=0xd5;delay(8);P1=0xe5;delay(8);P1=0xf5;delay(8);void er()P0=0xff;d1=1;d2=0;P1=0x00;delay(8);P1=0x03;delay(8);P1=0x04;delay(8);P1=0x07;delay(8);P1=0x0e;delay(8);P1=0x0e;delay(8);P1=0x0f;delay(8);d1=0;d2=1;P1=0x00;delay(8);P1=0x10;delay(8);P1=0x20;delay(8);P1=0x30;delay(8);P1=0x50;delay(8);P1=0x90;delay(8);P1=0xa0;delay(8);P1=0xc0;delay(8);P1=0xf0;delay(8);void san()P0=0xff;d1=1;d2=0;P1=0x00;delay(8);P1=0x03;delay(8);P1=0x04;delay(8);P1=0x07;delay(8);P1=0x0e;delay(8);d1=0;d2=1;P1=0x00;delay(8);P1=0x10;delay(8);P1=0x20;delay(8);P1=0x30;delay(8);P1=0x40;delay(8);P1=0x50;delay(8);P1=0x90;delay(8);P1=0xa0;delay(8);P1=0xc0;delay(8);P1=0xf0;delay(8);void si()P0=0xff;d1=1;d2=0;P1=0x00;delay(8);P1=0x01;delay(8);P1=0x02;delay(8);P1=0x03;delay(8);P1=0x07;delay(8);d1=0;d2=1;P1=0x00;delay(8);P1=0x10;delay(8);P1=0x20;delay(8);P1=0x30;delay(8);P1=0x40;delay(8);P1=0x50;delay(8);P1=0xc0;delay(8);void qi()P0=0xff;d1=1;d2=0;P1=0x03;delay(8);P1=0x04;delay(8);d1=0;d2=1;P1=0x00;delay(8);P1=0x10;delay(8);P1=0x20;delay(8);P1=0x30;delay(8);P1=0x40;delay(8);P1=0x50;delay(8);P1=0xf0;delay(8);void ba()P0=0xff;d1=1;d2=0;P1=0x00;delay(8);P1=0x01;delay(8);P1=0x02;delay(8);P1=0x03;delay(8);P1=0x04;delay(8);P1=0x07;delay(8);P1=0x0e;delay(8);P1=0x0e;delay(8);P1=0x0f;delay(8);d1=0;d2=1;P1=0x00;delay(8);P1=0x10;delay(8);P1=0x20;delay(8);P1=0x30;delay(8);P1=0x40;delay(8);P1=0x50;delay(8);P1=0x90;delay(8);P1=0xa0;delay(8);P1=0xc0;delay(8);P1=0xf0;delay(8);void jiu()P0=0xff;d1=1;d2=0;P1=0x00;delay(8);P1=0x01;delay(8);P1=0x02;delay(8);P1=0x03;delay(8);P1=0x04;delay(8);P1=0x07;delay(8);P1=0x0e;delay(8);P1=0x0e;delay(8);d1=0;d2=1;P1=0x00;delay(8);P1=0x10;delay(8);P1=0x20;delay(8);P1=0x30;delay(8);P1=0x40;delay(8);P1=0x50;delay(8);P1=0x90;delay(8);P1=0xa0;delay(8);P1=0xc0;delay(8);P1=0xf0;delay(8);void bayiqi()switch(t)case 0: P0=0xff;P2=0xfe;ba();break;delay(1);case 1: P2=0xfd;ba();break;delay(1);case 2: P2=0xfb;ba();break;delay(1);case 3: P2=0xf7;ba();break;delay(1);case 4: P2=0xef;ba();break;delay(1);case 5: P2=0xf7;ba();break;delay(1);case 6: P2=0xfb;ba();break;delay(1);case 7: P2=0xfd;ba();break;delay(1);case 8: P2=0xfe;ba();break;delay(1);case 9: P2=0xfe;yi();break;delay(1);case 10: P2=0xfd;yi();break;delay(1);case 11: P2=0xfb;yi();break;delay(1);case 12: P2=0xf7;yi();break;delay(1);case 13: P2=0xef;yi();break;delay(1);case 14: P2=0xf7;yi();break;delay(1);case 15: P2=0xfb;yi();break;delay(1);case 16: P2=0xfd;yi();break;delay(1);case 17: P2=0xfe;yi();break;delay(1);case 18: P2=0xfe;qi();break;delay(1);case 19: P2=0xfd;qi();break;delay(1);case 20: P2=0xfb;qi();break;delay(1);case 21: P2=0xf7;qi();break;delay(1);case 22: P2=0xef;qi();break;delay(1);case 23: P2=0xf7;qi();break;delay(1);case 24: P2=0xfb;qi();break;delay(1);case 25: P2=0xfd;qi();break;delay(1);case 26: P2=0xfe;qi();break;delay(1);void yisanyisi()switch(t)case 0: P0=0xff;P2=0xfe;yi();break;delay(1);case 1: P2=0xfd;yi();break;delay(1);case 2: P2=0xfb;yi();break;delay(1);case 3: P2=0xf7;yi();break;delay(1);case 4: P2=0xef;yi();break;delay(1);case 5: P2=0xf7;yi();break;delay(1);case 6: P2=0xfb;yi();break;delay(1);case 7: P2=0xfd;yi();break;delay(1);case 8: P2=0xfe;yi();break;delay(1);case 9: P2=0xfe;yi();break;delay(1);case 10: P2=0xfd;san();break;delay(1);case 11: P2=0xfb;san();break;delay(1);case 12: P2=0xf7;san();break;delay(1);case 13: P2=0xef;san();break;delay(1);case 14: P2=0xf7;san();break;delay(1);case 15: P2=0xfb;san();break;delay(1);case 16: P2=0xfd;san();break;delay(1);case 17: P2=0xfe;san();break;delay(1);case 18: P2=0xfe;yi();break;delay(1);case 19: P2=0xfd;yi();break;delay(1);case 20: P2=0xfb;yi();break;delay(1);case 21: P2=0xf7;yi();break;delay(1);case 22: P2=0xef;yi();break;delay(1);case 23: P2=0xf7;yi();break;delay(1);case 24: P2=0xfb;yi();break;delay(1);case 25: P2=0xfd;yi();break;delay(1);case 26: P2=0xfe;yi();break;delay(1); case 27: P2=0xfe;si();break;delay(1);case 28: P2=0xfd;si();break;delay(1);case 29: P2=0xfb;si();break;delay(1);case 30: P2=0xf7;si();break;delay(1);case 31: P2=0xef;si();break;delay(1);case 32: P2=0xf7;si();break;delay(1);case 33: P2=0xfb;si();break;delay(1);case 34: P2=0xfd;si();break;delay(1);case 35: P2=0xfe;si();break;delay(1);void xin()P0=0xff;d1=1;d2=0;P1=0x03;delay(8);P1=0x05;delay(8);P1=0x09;delay(8);P1=0x0a;delay(8);P1=0x0b;delay(8);P1=0x0f;delay(8);P1=0x02;delay(8);P1=0x01;delay(8);P1=0x00;delay(8);P1=0x06;delay(8);P1=0x07;delay(8);P1=0x0f;delay(8);d1=0;d2=1;P1=0x00;delay(8);P1=0x40;delay(8);P1=0x90;delay(8);P1=0xa0;delay(8);P1=0xe0;delay(8);q1=0;delay(8);q2=0;delay(8);q3=0;delay(8);P1=0x10;delay(8);P1=0x20;delay(8);P1=0x30;delay(8);P1=0xb0;delay(8);P1=0xc0;delay(8);P1=0xd0;delay(8);P1=0x80;delay(8);void shanxin()switch(t)case 0: P2=0xfe;xin();break;delay(1);case 1: P2=0xfd;xin();break;delay(1);case 2: P2=0xfb;xin();break;delay(1);case 3: P2=0xf7;xin();break;delay(1);case 4: P2=0xef;xin();break;delay(1);case 5: P2=0xf7;xin();break;delay(1);case 6: P2=0xfb;xin();break;delay(1);case 7: P2=0xfd;xin();break;delay(1);void qierjiu()switch(t)case 0: P0=0xff;P2=0xfe;qi();break;delay(1);case 1: P2=0xfd;qi();break;delay(1);case 2: P2=0xfb;qi();break;delay(1);case 3: P2=0xf7;qi();break;delay(1);case 4: P2=0xef;qi();break;delay(1);case 5: P2=0xf7;qi();break;delay(1);case 6: P2=0xfb;qi();break;delay(1);case 7: P2=0xfd;qi();break;delay(1);case 8: P2=0xfe;qi();break;delay(1);case 9: P2=0xfe;er();break;delay(1);case 10: P2=0xfd;er();break;delay(1);case 11: P2=0xfb;er();break;delay(1);case 12: P2=0xf7;er();break;delay(1);case 13: P2=0xef;er();break;delay(1);case 14: P2=0xf7;er();break;delay(1);case 15: P2=0xfb;er();break;delay(1);case 16: P2=0xfd;er();break;delay(1);case 17: P2=0xfe;er();break;delay(1);case 18: P2=0xfe;jiu();break;delay(1);case 19: P2=0xfd;jiu();break;delay(1);case 20: P2=0xfb;jiu();break;delay(1);case 21: P2=0xf7;jiu();break;delay(1);case 22: P2=0xef;jiu();break;delay(1);case 23: P2=0xf7;jiu();break;delay(1);case 24: P2=0xfb;jiu();break;delay(1);case 25: P2=0xfd;jiu();break;delay(1);case 26: P2=0xfe;jiu();break;delay(1);void ii()P0=0xff;d1=1;d2=0;P1=0x04;delay(8);d1=0;d2=1;P1=0x04;delay(8);P1=0x54;delay(8);P1=0x94;delay(8);P1=0xa4;delay(8);P1=0xb4;delay(8);P1=0xc4;delay(8);P1=0xd4;delay(8);P1=0xe4;delay(8);P1=0xf4;delay(8);void ll()P0=0xff;d1=1;d2=0;P1=0x50;delay(8);P1=0x51;delay(8);P1=0x52;delay(8);P1=0x53;delay(8);P1=0x5f;delay(8);P1=0x5e;delay(8);d1=0;d2=1;P1=0x5e;delay(8);P1=0x9e;delay(8);P1=0xae;delay(8);void oo()P0=0xff;d1=1;d2=0;P1=0x04;delay(8);P1=0x02;delay(8);P1=0x0a;delay(8);P1=0x0b;delay(8);P1=0x0f;delay(8);d1=0;d2=1;P1=0x10;delay(8);P1=0x40;delay(8);P1=0x90;delay(8);P1=0xa0;delay(8);P1=0xf0;delay(8);q2=0;delay(8);q3=0;delay(8);void vv()P0=0xff;d1=1;d2=0;P1=0x08;delay(8);P1=0x09;delay(8);P1=0x0a;delay(8);P1=0x0b;delay(8);P1=0x0f;delay(8);d1=0;d2=1;P1=0x90;delay(8);P1=0xa0;delay(8);P1=0x40;delay(8);q0=0;delay(8);q1=0;delay(8);q2=0;delay(8);q3=0;delay(8);void ee()P0=0xff;d1=1;d2=0;P1=0x00;delay(8);P1=0x01;delay(8);P1=0x02;delay(8);P1=0x03;delay(8);P1=0x0f;delay(8);P1=0x0e;delay(8);P1=0x04;delay(8);P1=0x07;delay(8);d1=0;d2=1;P1=0xc0;delay(8);P1=0x30;delay(8);P1=0xf0;delay(8);P1=0x00;delay(8);P1=0x50;delay(8);P1=0x90;delay(8);P1=0xa0;delay(8);void yy()P0=0xff;d1=1;d2=0;P1=0x08;delay(8);P1=0x02;delay(8);P1=0x06;delay(8);P1=0x07;delay(8);d1=0;d2=1;P1=0x07;delay(8);P1=0x97;delay(8);P1=0x87;delay(8);P1=0xe7;delay(8);void uu()P0=0xff;d1=1;d2=0;P1=0x08;delay(8);P1=0x09;delay(8);P1=0x0a;delay(8);P1=0x0b;delay(8);P1=0x0c;delay(8);P1=0x0e;delay(8);d1=0;d2=1;P1=0x00;delay(8);P1=0x10;delay(8);P1=0x20;delay(8);P1=0x30;delay(8);P1=0x40;delay(8);P1=0xa0;delay(8);P1=0x90;delay(8);void iloveyou()switch(t)case 0: P0=0xff;P2=0xfe;ii();break;delay(1);case 1: P2=0xfd;ii();break;delay(1);case 2: P2=0xfb;ii();break;delay(1);case 3: P2=0xf7;ii();break;delay(1);case 4: P2=0xef;ii();break;delay(1);case 5: P2=0xf7;ii();break;delay(1);case 6: P2=0xfb;ii();break;delay(1);case 7: P2=0xfd;ii();break;delay(1);case 8: P2=0xfe;ii();break;delay(1);case 9: P2=0xfe;ll();break;delay(1);case 10: P2=0xfd;ll();break;delay(1);case 11: P2=0xfb;ll();break;delay(1);case 12: P2=0xf7;ll();break;delay(1);case 13: P2=0xef;ll();break;delay(1);case 14: P2=0xf7;ll();break;delay(1);case 15: P2=0xfb;ll();break;delay(1);case 16: P2=0xfd;ll();break;delay(1);case 17: P2=0xfe;ll();break;delay(1);case 18: P2=0xfe;oo();break;delay(1);case 19: P2=0xfd;oo();break;delay(1);case 20: P2=0xfb;oo();break;delay(1);case 21: P2=0xf7;oo();break;delay(1);case 22: P2=0xef;oo();break;delay(1);case 23: P2=0xf7;oo();break;delay(1);case 24: P2=0xfb;oo();break;delay(1);case 25: P2=0xfd;oo();break;delay(1);case 26: P2=0xfe;oo();break;delay(1);case 27: P2=0xfe;vv();break;delay(1);case 28: P2=0xfd;vv();break;delay(1);case 29: P2=0xfb;vv();break;delay(1);case 30: P2=0xf7;vv();break;delay(1);case 31: P2=0xef;vv();break;delay(1);case 32: P2=0xf7;vv();break;delay(1);case 33: P2=0xfb;vv();break;delay(1);case 34: P2=0xfd;vv();break;delay(1);case 35: P2=0xfe;vv();break;delay(1);case 36: P2=0xfe;ee();break;delay(1);case 37: P2=0xfd;ee();break;delay(1);case 38: P2=0xfb;ee();break;delay(1);case 39: P2=0xf7;ee();break;delay(1);case 40: P2=0xef;ee();break;delay(1);case 41: P2=0xf7;ee();break;delay(1);case 42: P2=0xfb;ee();break;delay(1);case 43: P2=0xfd;ee();break;delay(1);case 44: P2=0xfe;ee();break;delay(1);case 45: P2=0xfe;yy();break;delay(1);case 46: P2=0xfd;yy();break;delay(1);case 47: P2=0xfb;yy();break;delay(1);case 48: P2=0xf7;yy();break;delay(1);case 49: P2=0xef;yy();break;delay(1);case 50: P2=0xf7;yy();break;delay(1);case 51: P2=0xfb;yy();break;delay(1);case 52: P2=0xfd;yy();break;delay(1);case 53: P2=0xfe;yy();break;delay(1);case 54: P2=0xfe;oo();break;delay(1);case 55: P2=0xfd;oo();break;delay(1);case 56: P2=0xfb;oo();break;delay(1);case 57: P2=0xf7;oo();break;delay(1);case 58: P2=0xef;oo();break;delay(1);case 59: P2=0xf7;oo();break;delay(1);case 60: P2=0xfb;oo();break;delay(1);case 61: P2=0xfd;oo();break;delay(1);case 62: P2=0xfe;oo();break;delay(1);case 63: P2=0xfe;uu();break;delay(1);case 64: P2=0xfd;uu();break;delay(1);case 65: P2=0xfb;uu();break;delay(1);case 66: P2=0xf7;uu();break;delay(1);case 67: P2=0xef;uu();break;delay(1);case 68: P2=0xf7;uu();break;delay(1);case 69: P2=0xfb;uu();break;delay(1);case 70: P2=0xfd;uu();break;delay(1);case 71: P2=0xfe;uu();break;delay(1);void shui()switch(t)case 0: P0=0xff;d1=1;d2=0;P1=0x05;P2=0xfe;break;delay(1);case 1: d1=1;d2=0;P1=0x05;P2=0xfd;break;delay(1);case 2: d1=1;d2=0;P1=0x05;P2=0xfb;break;delay(1);case 3: d1=1;d2=0;P1=0x05;P2=0xf7;break;delay(1);case 4: d1=1;d2=0;P1=0x05;P2=0xef;break;delay(1);case 5: d1=1;d2=0;P1=0x05;P2=0xf7;break;delay(1);case 6: d1=1;d2=0;P1=0x05;P2=0xfb;break;delay(1);case 7: d1=1;d2=0;P1=0x05;P2=0xfd;break;delay(1);case 8: d1=1;d2=0;P1=0x05;P2=0xfe;break;delay(1);case 9: d1=1;d2=0;P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfe;break;delay(1);case 10: d1=1;d2=0;P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfd;break;delay(1);case 11: d1=1;d2=0;P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfb;break;delay(1);case 12: d1=1;d2=0;P1=0x03;delay(8);P1=0x05;delay(8);P2=0xf7;break;delay(1);case 13: d1=1;d2=0;P1=0x03;delay(8);P1=0x05;delay(8);P2=0xef;break;delay(1);case 14: d1=1;d2=0;P1=0x03;delay(8);P1=0x05;delay(8);P2=0xf7;break;delay(1);case 15: d1=1;d2=0;P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfb;break;delay(1);case 16: d1=1;d2=0;P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfd;break;delay(1);case 17: d1=1;d2=0;P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfe;break;delay(1);case 18: d1=1;d2=0;P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfe;break;delay(1);case 19: d1=1;d2=0;P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfd;break;delay(1);case 20: d1=1;d2=0;P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfb;break;delay(1);case 21: d1=1;d2=0;P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xf7;break;delay(1);case 22: d1=1;d2=0;P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xef;break;delay(1);case 23: d1=1;d2=0;P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xf7;break;delay(1);case 24: d1=1;d2=0;P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfb;break;delay(1);case 25: d1=1;d2=0;P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfd;break;delay(1);case 26: d1=1;d2=0;P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfe;break;delay(1);case 27: d1=1;d2=0;P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfe;break;delay(1);case 28: d1=1;d2=0;P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfd;break;delay(1);case 29: d1=1;d2=0;P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfb;break;delay(1);case 30: d1=1;d2=0;P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xf7;break;delay(1);case 31: d1=1;d2=0;P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xef;break;delay(1);case 32: d1=1;d2=0;P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xf7;break;delay(1);case 33: d1=1;d2=0;P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfb;break;delay(1);case 34: d1=1;d2=0;P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfd;break;delay(1);case 35: d1=1;d2=0;P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfe;break;delay(1);case 36: d1=1;d2=0;P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfe;break;delay(1);case 37: d1=1;d2=0;P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfd;break;delay(1);case 38: d1=1;d2=0;P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfb;break;delay(1);case 39: d1=1;d2=0;P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xf7;break;delay(1);case 40: d1=1;d2=0;P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xef;break;delay(1);case 41: d1=1;d2=0;P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xf7;break;delay(1);case 42: d1=1;d2=0;P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfb;break;delay(1);case 43: d1=1;d2=0;P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfd;break;delay(1);case 44: d1=1;d2=0;P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfe;break;delay(1);case 45: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfe;break;delay(1);case 46: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfd;break;delay(1);case 47: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfb;break;delay(1);case 48: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xf7;break;delay(1);case 49: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xef;break;delay(1);case 50: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xf7;break;delay(1);case 51: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfb;break;delay(1);case 52: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfd;break;delay(1);case 53: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);P2=0xfe;break;delay(1);case 54: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);d1=0;d2=1;P1=0x90;delay(8);P2=0xfe;break;delay(1);case 55: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);d1=0;d2=1;P1=0x90;delay(8);P2=0xfd;break;delay(1);case 56: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);d1=0;d2=1;P1=0x90;delay(8);P2=0xfb;break;delay(1);case 57: d1=1;d2=0;P1=0x0f;delay(8);P1=0x0b;delay(8);P1=0x0a;delay(8);P1=0x09;delay(8);P1=0x03;delay(8);P1=0x05;delay(8);d1=0;d

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论