• Change from char array to int array R/W nvram over spi
    I am having a problem with get and set nvram over a spi bus. The set function shown below has always worked with "Char array" and "int" types, but will not work with "int array'. Thanks in advance...
  • Change from char array to int array R/W nvram over spi
    I am having a problem with get and set nvram over a spi bus. The set function shown below has always worked with "Char array" and "int" types, but will not work with "int array'. Thanks in advance...
  • Array indexing with unsigned int
    C251 v3.12 The C251 compiler does not handle arithmetic for array indices consistently. Consider char tt[30] ; char test ; unsigned char aaa = 27 ; unsigned int bbb = 27 ; test = tt[aaa - 20] ;...
  • Array indexing with unsigned int
    C251 v3.12 The C251 compiler does not handle arithmetic for array indices consistently. Consider char tt[30] ; char test ; unsigned char aaa = 27 ; unsigned int bbb = 27 ; test = tt[aaa - 20] ;...
  • array index type of signed int
    Hi list, i'm working with c51v750a. My problem: int array[ 0] _at_ 0x7600; //xdata unsigned char index = 0; //xdata printf("%d", &array[ index]); printf("%d", &array[(unsigned char)(index - 1)...