For testing I've used the Arduino nano to emulate two devices, one I2C photoresistor sensor and one SPI PWM LED. These devices, for example, could be two different attiny85; but as the atmega368p is ...
SparkFun code, firmware, and software is released under the MIT License. Please see LICENSE.md for further details.