LCDCTL=LCDON+LCD4MUX+LCDP2;
BTCTL=BTFRFQ1;
int i;
for(i=0;i<12;i++)
LCDMEM[i]=digit[i%10];
_EINT(); // Ena××e interrupts
for (;;)
{ LPM3;
}
}
// Watchdog Timer interrupt service routine
#pragma vector=RESET_VECTOR
__interrupt void reset(void)
{ int i;
for(i=0;i<12;i++)
LCDMEM[i]=digit[1];
}
出错信息如下:
Error[e16]: Segment RESET (size: 0x2 align: 0x1) is too long for segment definition. At least 0x2 more bytes needed. The pro××em occurred while processing the
segment placement command "-Z(CONST)RESET=FFFE-FFFF", where at the moment of placement the ××aila××e memory ranges were "-none-"
Reserved ranges relevant to this placement: