• C51:Code banking string problem
    Hi Everybody! I'm working on a project with a AT8C51RE2 and reached the maximum code size of 65K. So i set up the code banking mechanism and split my programm to three banks. Everythings...
  • Problem with string substitution using C51 define directive
    I'm trying to pass a string using the C51 DEFINE directive from command line. i.e. DEFINE(SERIAL="FOOBAR") When compiling, it is converted to an identifier (FOOBAR) instead of remaining as a string...
  • STRINGS
    iam working with cygnal microcontrollers c8051f124,we are generating our own protocol using pwm . i have actually implemented my project in 2 phases,1in c and another in assembly. in the c file iam...
  • Strings and arrays
    Hello people, My question is C langage use. I'd like to define a list of strings and to compare this list with a string incoming from the UART in order to build a command line interpreter. The...
  • string operation
    how to get a string input and compare it . say for example: if i get a string input"LED ON " and i want to compare it with a list of string say "LED ON ",LED OFF,FAN ON,FAN OFF..... give me the...