it must be a very silly error somewhere but I can’t figure out what’s wrong.
I’m trying to set up an I2C connection with an gyrometer.
I put 2 2.2kOhm pull-up resistors on SDA and SCL outputs (pins 20,21) connected to the 5V pin, and plugged a scope on them. I didn’t yet plug the slave.
I wrote a very simple program:
I recorded the first frame emitted from the Arduino board: see picture. It seems that I get the same signal SDA or SCL but not both.
What I see surprises me; I thought I would find a SCL twice as fast as SDA and a beautiful start bit.
Has anyone an idea, please ? I’m stuck