bengtmartensson/Infrared4Arduino

Refactor board dependencies

bengtmartensson opened this issue · 0 comments

The different boards should not define their own IrReceiverSampler::enable etc. Instead IrReceiverSampler::enable could call something like Board::enableSampler with Board a class encapsulating the board dependencies.

Get rid of as much of the macro madness as possible!