Blinksignal umwandeln

Warum machst du das nicht in Software? Fototransistor dran, falls das Signal in Form einer LED vorliegt