在KEIL C51的中段中调用函数的问题!!(急)
用编程是,在串口中断中调用一个已经写好的子程序,可是参数传递不进去??
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( ) 中还有几个子程序的嵌套)
发表时间:2003年8月29日18:37:44