Fixed a couple of pinout definition errors
Added pi emulator
Console read sort of working.
Broadly filled out code
Modified frequency calculation to be more simple.
Protocol change
Fixed arduino click count. Arduino now returning info to pi.
Merge pull request #2 from msk-/master

Pulling changes from msk.