• The third and fourth rows of the keypad show the same numbers
    Hello everyone, I'm trying to scan a keypad and show numbers 0-15 on a 7segment. I use switch case and the keypad shows numbers 0-11 correctly, but the fourth row of the keypad shows exactly the same...
  • Trouble accessing array values
    I'm having difficulty accessing a value from an array. Here's an example of what the code is doing: unsigned char xdata In_Buf[2][70]; unsigned char port; void main(void){ port = In_Buf[0...
  • how to access an array in flashmemory
    Hi, I want to store fixed strings in flash memory. How can I access strings I tried following code, but this does not work... My assembly file with the definition of the string EXPORT TEST...
  • accessing array of ptr in the structures
    i've declared a structure as typedef struct elem { int a; void *b[20]; }e; how can i access the array of (void) pointer inside a structure??? e.b ??? - is this correct manner of accessing...
  • array to array
    for example i have got three constant array code unsigned char a_0[]={0x54,0x25,0x11,0xff,0x21}; code unsigned char a_1[]={0x51,0x45,0x55,0x85}; code unsigned char a_2[]={0x24,0x47}; in program...