try this:GrandAlf said:I am using Keil C51 C
I have done this just as a test.
static void serial_isr (void) interrupt 4 using 2
{
if (TI) return;//Can I do this to ignore transmit ints ?
if (RI) test = SBUF;
}
void serial_isr (void) interrupt 4
{
if (RI)
{
RI=0;
test=SBUF;
}
if (TI) TI=0;
}
try this:GrandAlf said:I am using Keil C51 C
I have done this just as a test.
static void serial_isr (void) interrupt 4 using 2
{
if (TI) return;//Can I do this to ignore transmit ints ?
if (RI) test = SBUF;
}
void serial_isr (void) interrupt 4
{
if (RI)
{
RI=0;
test=SBUF;
}
if (TI) TI=0;
}
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?