Brand new to AS7. Started playing with the simulator for the first time, and ran into this: my code uses i2c/twi. In my specific example, it starts an i2c communication and waits for the TWI interrupt bit to be set - which never happens.
Now, I've found at least two solutions to that - I can break the code and manually set the register bit, or I can go into the disassembled code wait for the BRGE instruction, and set/clear a status register bit to get past it.
But I'm wondering if there's a better way. Is there some way to simulate responses from the i2c bus? What about other external events? If, for example, the code was waiting on a button press, would I have to manually set the register to make it work?