It's a good question, and as an embedded developer I've often wished for a good configurable microcontroller simulator. While there are emulators for the processor architecture, finding support for hardware interfaces like ADCs, DACs, etc is more of a challenge. For example, see the QEMU STM32...