|
вроде все должно работать
SIGNAL(SIG_OUTPUT_COMPARE0)
{
static char unit;
if (unit++ == 0) {
/* display next unit */
PORTB = _BV(SEG_D2);
DISPLAY_PORT = DigitTable[0];
}
else {
/* display next unit */
PORTB = _BV(SEG_D4);
DISPLAY_PORT = DigitTable[1];
unit=0;
}
}
E-mail: info@telesys.ru