arduino:spi-test-controller
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arduino:spi-test-controller [2023/07/26 02:15] – created mithat | arduino:spi-test-controller [2023/07/26 02:22] (current) – mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Testing Arduino as SPI with two different Arduino-based peripherals. Use with [[spi-test-peripheral-even]] and [[spi-test-peripheral-odd]] counter. | ||
+ | |||
<file cpp spi-test-controller.ino> | <file cpp spi-test-controller.ino> | ||
/** | /** | ||
Line 99: | Line 101: | ||
SPI.endTransaction(); | SPI.endTransaction(); | ||
- | active_SPI_pin = (active_SPI_pin == SS) ? ODD_CS_PIN: SS; // toggle desired SPI device | + | |
+ | | ||
delay(2000); | delay(2000); | ||
} // end of loop | } // end of loop |
arduino/spi-test-controller.1690337750.txt.gz · Last modified: 2023/07/26 02:15 by mithat