swatkxs 发表于 2013-12-30 18:28 
孩子,我没骗你,那6个不是用来给你做输入输出的,你应该知道,没人把这6个也算在arduino的接口中,因为基 ...
SPI: on the ICSP header. These pins support SPI communication using the SPI library. Note that the SPI pins are not connected to any of the digital I/O pins as they are on the Arduino Uno, they are only available on the ICSP connector and on the nearby pins labelled MISO, MOSI and SCK.
http://arduino.cc/en/Main/ArduinoBoardMicro
Vcc,GND,MISO,MOSI,Reset,SCK 这些是标准的SPI啊,到你这里怎么就成了不是给你做输入输出呢? 敢问你用 sd卡,Ethernet ,你往哪里接呢?
UNO是复用的,用了SPI接口后,SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK).这些就不能用做简单的数字量输入、输出了。所以总的来说 接口数要比UNO多。 |