Nagyszerű!
Akkor tökéletesen fog működni, mivel a diódák elkerülik a szellemnyomásokat.
Az L közös helyett a K közös olvasására való áttérés nagyon egyszerű, csak a kódban a két egymás utáni RRA parancs közül az egyiket egy NOP paranccsal kell helyettesíteni. Ez a harmadik bit helyett a sor második bitjét fogja hozzáadni:Great!
Then it will work perfect, as the diodes will avoid ghost presses.
Switching to reading the K common instead of the L common is very easy, only replacing one of the two contiguous RRA commands on the code with a NOP command. This will add the second bit of the row instead of the third bit:
L common:
120 CODE JOYS=HEX$("18,04,00,00,00,00,AF,47,0E,05,09,06,04,77,2B,
10,FC,23,01,00,05,F5,F3,D3,B5,DB,B6,FB,2F,1F,CB,16,1F,
1F,CB,11,F1,3C,
10,ED,23,23,71,2B,FE,05,28,E2,C9")
K common:
120 CODE JOYS=HEX$("18,04,00,00,00,00,AF,47,0E,05,09,06,04,77,2B,
10,FC,23,01,00,05,F5,F3,D3,B5,DB,B6,FB,2F,1F,CB,16,1F,
00,CB,11,F1,3C,
10,ED,23,23,71,2B,FE,05,28,E2,C9")
Sorry...
DeepL translator.