赞
踩
#include
#define uint unsigned int
#define uchar unsigned char
#define BN 16
uchar tr[16]="hello!";
#define LCDPORT P2 //LCD
数据线
sbit lcdrs=P1^0;
sbit lcden=P1^1;
sbit QW=P1^7;
uchar start=0;
uchar flag='0';
uchar extentFactor=5;
uchar freqFactor=0;
uint OUTPUT;
uint time=1;
uint tab[5]={1,2,5,10,35};
uint code sin[256]={
0x80,0x83,0x86,0x89,0x8d,0x90,0x93,0x96,0x99,0x9c,0x9f,0xa2,
0xa5,0xa8,0xab,0xae,0xb1,0xb4,0xb7,0xba,0xbc,0xbf,0xc2,0xc5,
0xc7,0xca,0xcc,0xcf,0xd1,0xd4,0xd6,0xd8,0xda,0xdd,0xdf,0xe1,
0xe3,0xe5,0xe7,0xe9,0xea,0xec,0xee,0xef,0xf1,0xf2,0xf4,0xf5,
0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfd,0xfe,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。