Lcd_Write(unsigned char c)
{
Lcd_Busy();
....
....
}
Series_interrupt() interrupt 4 using 3{
unsigned char temp=0x33;
Lcd_Write(temp);
}
main()
{
Series_Init();
}
就是串行口的中断中的temp变量传给被调用的函数参数c,而c老是得不到temp 的值! ;老是没有反应!~!!
(在Lcd_Write( ) 中还有几个子程序的嵌套)