User Activity

KeyInputMemory[column_count] = (uint16_t) HAL_GPIO_ReadPin(rowport, GPIO_PIN_All); /* If the key at the current column is pressed (considering an active low setup),store the LED state in the LEDOutputMemory. */if (KeyInputMemory[column_count] == 0){L...
  KeyInputMemory[column_count] = (uint16_t)(GPIOB->IDR);       uint16_t mask = 0x0FFF;       KeyInputMemory[column_count] &= mask;     if (KeyInputMemory[column_count] == StoredKeyInput[column_count]) {  //         KeyInputCounter[column_count]++;   ...
hi I am working on keyboard project where i want to read B port"KeyInputMemory[column_count] = (uint16_t) HAL_GPIO_ReadPin(rowport, GPIO_PIN_All);iam taking rows as input... whenever key is pressed it should be read that pin.... how can i see whether...
Kudos given to