• declaration may not appear after executable statement
    #include<lpc214x.h> void init(void); void delay_ms(int); int main(void) { int i,j,k,A,B,C; IODIR0=0; A=0; B=IOPIN0; C=B^A; unsigned char c[]="I L*** NITC \n"; unsigned char r[]="I L*** EMBEDDED SYSTEMS...
  • #define statements on variable declarations
    Hello. I am trying to find new and exciting ways to optimize (read: shrink down) my current code and want to include an eeprom autorefresh option to cut down on variables. Basically, when I have the...
  • printf statement not working after putchar statement is used.
    Hi All I am using following putchar routine. void srl_putchar(unsigned char send) { SBUF = send; while (!TI); TI = 0; } after using above routine to transfer a character via serial port i continued...
  • variable not appearing in Locals Window
    I want to look at some registers using the variable 'debug'. However, the variable does not appear in the Locals window. Reading other posts, they say I need to use the variable otherwise the compiler...
  • Dis-appearing MDK update
    Did anybody else notice how an update of MDK appeared and disappeared recently? I saw update 4.71 (dated April 2013) was available yesterday on the Keil homepage and downloaded it. A little later...