Question.1
Which waveform will be displayed on DSO? (after executing the following code)
Arduino code:
#include <SPI.h>
void setup() {
SPI.begin();
SPI.beginTransaction(SPISettings(400000, MSBFIRST, SPI_MODE3));
delay(2000);
}
void loop() {
digitalWrite(SS, LOW);
SPI.transfer(0b10101111);
digitalWrite(SS, HIGH);
while (1);
}