So I tried it now with higher baudrate uo tp 100 000 Baud = 100 KHz and I had no errors with your bitbanging library.
Thanks a lot for your help.
I have two questions: 1. I saw that your library supports maximum 500 000 baud so that means max. 500KHz, do you know what is the maxiomum baudrate for i2c of the RPi zero?
2. I tested it with the bauds (50000, 100 000 and I saw that there are a lot some stretched signal (see Picture for 100 000 baud, but the reading is correct.)
It does mean that this Bitbanging method supports clock stretching?
Because before I tried this i decreased the baudrate in the Rpi settings in the i2c.conf file and the question is know, should I change the settings again there its set to 50Baud or with the cmd pi1.bb.i2c_open(4,5,100000) its enough?
Because how i understood it this i2c.conf is fpr the hardware I2c in pins 2 and 3 and emulated ois different right?