I have this chess board and pieces with magnets on the bottom. My idea is to place a reed switch below each tile so that Arduino can detect movements by comparing boards before and after one movement.How do I wire these reed switches to use as less IO pins as possible without using too much code (I need room for the chess logic)?
A switch matrix like a Keypad wouldn't work as there would be more than piece at any given time.
r0----x---o---o | | | x---x---o | | | o---o---o | | | c0 c1 c2
I need room for the chess logic
QuoteI need room for the chess logicOn Arduino?