Question.2
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_MODE1));
delay(2000);
}
void loop() {
digitalWrite(SS, LOW);
SPI.transfer(0b11000001);
digitalWrite(SS, HIGH);
while (1);
}