keyboard diode matrix scanning
I'm faced with connecting a (piano) keyboard to an MCU using a number of columns and a number of rows.
The principle is shown in the attached photo. I've read approaches where the coulmns are pulled to low while the rows are inputs that are sensed.
Am I right that with the given arrangement it would be appropriate to set the columns to "HIGH" and sense the rows whether they are "HIGH"?

Excuses, forgot to say which MCU: it's an STM32F103C8T6 here.
The diodes are common practice to avoid so called "ghost hits" when multiple contacts are actuated.
