• Switching between code programs
    I have two different code programs: Program "B" which is located at 1000h and Program "A" located at 0h (it ends before 1000h) and it's working properly. How can I start executing program "B" from Program...
  • uart +switch +lcd coding
    #include<lpc21xx.h> void SendMessage(char *Message); void SendByteSerially(unsigned char a); void initLCD(void); void enable(void); void LCD_WriteChar(unsigned char c); void LCD_WriteString(unsigned...
  • how to avoid the switch code
    I have the impression that the routine that process a switch statement is (justifiably?) complicated and slow. I have a case with a lot of case statements. To "help the compiler" the cases are 0...
  • switch statement
    I need to use the switch statement with up to 255 cases? I keep getting the out of range error
  • bank switch
    How do I create a code banking application with c51 and assemble file?