Disable two-way SPI bus, SCK inactive high
Tabs to spaces, test-pattern generation

Converted all tab characters, as I've been convinced TABs are evil.

Code now generates a test pattern, although it's hard to verify
exactly. The panel is wired up in an unexpected direction.