Flankenauswertung:


if sensor_alt = 0 and Sensor =1
incr Drehungen
endif
sensor_alt = sensor