I'm trying to simulate an Arduino connected to an Adafruit INA219 current sensor. Since there isn't an INA219 component for SimulIDE, I wanted to send a random pattern of bits to the SDA pin on the Arduino to provide some "realistic" inputs that I could then use in my code.
Which components should I use to send a varying bit pattern to an Arduino pin? If I use a clock or a wave source, I get a repeating pattern of 0101010101010101... as I would expect.
Ideally I would like to send valid I2C bit patterns to the Arduino, as the INA219 communicates over I2C. But for now I'll settle for a random bit pattern.
Which components should I use to send a varying bit pattern to an Arduino pin? If I use a clock or a wave source, I get a repeating pattern of 0101010101010101... as I would expect.
Ideally I would like to send valid I2C bit patterns to the Arduino, as the INA219 communicates over I2C. But for now I'll settle for a random bit pattern.