/* * Comperator.hpp * * Created: 17.11.2014 23:50:04 * Author: netz */ #ifndef COMPERATOR_H_ #define COMPERATOR_H_ #include "hardware/pin.hpp" template class Comperator { public: Comperator() { init(); } uint8_t is_active() { return ACSR & (1< comppin0; const typedef avrlib::pin comppin1; }; #endif /* COMPERATOR_H_ */