Hello fellow Arduino enthusiasts,
I created an Arduino project for a Mega2560 board in Microsoft Visual Studio. Before loading the code on the board I want to test it on my Windows desktop computer.
I'd like to automatically provide input (e.g. with a file containing some values) for the 4 hardware Serials as well as the I2C/Wire bus and check their output for validity. How can one achieve that?
I read about mocking (e.g. "Arduino-mock") but this does not seem to be what I need since it is more a way of ignoring the absence of object implementations. Are there maybe some simulators that can automatically generate input and create output logs or even check the output?
Thank you for any advice!