Arduino sketch and circuit for a simple, no-parts keyboard matrix.