[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
попробуйте так TI = 1; printf ("11111111\n"); TF1 = 0; }
E-mail:
info@telesys.ru
#include
#include
void main (void) {
SCON0 = 0x00; /* SCON: mode 0, enable transmit */
TMOD |= 0x99; /* TMOD: timer 1, mode 1, 16-bit */
TH1 = 0xFF;
TL1 = 0x00;
TR1 = 1; /* TR1: timer 1 run */
while (1)
{
while (!TF1);
}
Ответы