// This example is intended to be used with the SPI0_Slave example.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
//
// Pinout:
//
// P0.0 - SPI SCK (digital output, push-pull)
// P0.1 - SPI MISO (digital input, open-drain)
// P0.2 - SPI MOSI (digital output, push-pull)
// P0.3 - SPI NSS (digital output, push-pull)
//
// P1.3 - LED (digital output, push-pull)
你的這份master的example code在程式開始的地方已經說明了, 需要搭配 slave 的example code
一起測試才利行.
如果只有master的code 那應該在 P0.2 - SPI MOSI 可以量到master送出的值,
P0.1 - SPI MISO 沒有接slave device, 那沒有量測到值的變化應該也是正常的.