SPI.setBitOrder(MSBFIRST); // Not strictly needed but just to be sure. SPI.setDataMode(SPI_MODE0); // Not strictly needed but just to be sure. // Set SPI clock divider to 16, therfore a 1 MhZ signal ...
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 ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results