mchr3k / arduino-libs-manchester

173 stars 113 forks source link

Changed clock prescalers and number of samples taken, bug fixes #9

Closed cano64 closed 11 years ago

cano64 commented 11 years ago

decreased number of samples per bit about 5 times, thus decreasing overhead by spending less time in the interrupt routine and increasing accuracy because we have 5 times less chance to pickup a corrupted sample by random noise yet enough samples to compensate for clock drifting, fixed RX for ATMega @8MHz

RX Tested to work on ATTiny85 1Mhz and 8Mhz, ATMega328 8Mhz and 16Mhz, believed to work on others

mchr3k commented 11 years ago

It looks like there is a space/tab issue which is polluting the diff. Can you sort this out please?

cano64 commented 11 years ago

I fixed the tab issue, ATmega8 fixed + 1Mhz support added

mchr3k commented 11 years ago

Your changes look good now - thanks for the pull request! Once you answer my line note I will be happy to merge your pull request :)

mchr3k commented 11 years ago

Thanks for your changes!