利用51单片机及步进机设计的洗衣机程序
sbit Speaker=P3^6; /*蜂鸣器*/
sbit Led=P3^0; /*Led小灯*/
sbit Led1=P3^1; /*Led小灯*/
void alarm(unsigned int t);
void delay(unsigned int t);
void delay1(unsigned char n);
void DaoJiShi();
void TimeSelect();
void lcd_num(unsigned char i,unsigned char j,unsigned char num);
void lcd_string(unsigned char i,unsigned char j,unsigned char *s);
void lcd_clr(); /*LCD清除程序*/
void init_lcd(); /*LCD初始化*/
void lcd_busy(void); /*LCD忙状态检测函数 */
void init_8279(void);
unsigned char adc0809();
void play0809(unsigned char m,unsigned char n);
void MotorChoose();
void MotorChoose1();
void ZdCanShu();
void PxTimes();
void XdPower();
void ShuiWei();
void ShangShui();
void QinPao();
void TuoShui();
void XiDi();
void ShuaiGan();
void PiaoXi();
1