• Comparing Register Values
    Sirs, I am trying to compare a register value to a hex code value as shown below: if(P0 == 0xAA) { P0 = 0x00; } else if(P0 == 0x00) { P0 = 0xAA; } in my code, I have it declared as: ...
  • compare voltage
    Hi, my program: EP: MOV A,ADC0H CJNZ A,#175D,EP i have problem jumping to the next subrountine when i detect 1.75V from power supply it will start to display if not it will display...
  • stm32f3 comparator
    STM32F3 Comparator hello everyone I am a beginner in STM32F3 and I found a problem with the comparator. I have no compilation error but its not working. If anyone can help me I would be grateful ...
  • butting two arrays
    I have a project where data is received to array a, reformatted to array b, then reformatted to array c. The arrays are different sizes. The process is relevant as different parts of array b are reformatted...
  • malloc and two dimensional array ( char * * )
    I want to allocate memory which I can use as a two dimensional array. But the following code is not working unsigned char xdata ** memo; unsigned char i = 0; // n is number of rows // size is number...