Merge pull request #1 from PaulStoffregen/master

resync
Merge pull request #2 from PaulStoffregen/master

resync
Merge pull request #3 from PaulStoffregen/master

resync
fixes for  2, 4MHz
Merge pull request #22 from duff2013/master

fix for 2 and 4MHz