/** * Rotary encoder routines * * @copyright 2012 Institute Automation of Complex Power Systems (ACS), RWTH Aachen University * @license http://www.gnu.org/licenses/gpl.txt GNU Public License * @author Steffen Vogel */ #include "rotary.h" /** * Drehgeber initialisieren */ void dgb_init() { // DDR auf input setzen SW_DDR &= ~(1<