Vielleicht hilft dir da was drinnen. Es ist SoftUart Inp / Outp
und eine Muster, das funzt.
https://www.roboternetz.de/phpBB2/dl...le&file_id=240