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...