1
TinyDuino Processors & TinyShields / Re: Chip Select of TinyDuino with microSD Card TinyShield
« on: September 07, 2016, 10:16:19 AM »
Sorry for silly question.
I found out that Arduino platform using another pin mapping (or naming) and it is NOT related to the physical pin number of the chip. For ATmega328, arduino mapping is as following:
https://www.arduino.cc/en/Hacking/PinMapping168
Therefore, the SS pin (physical pin number is pin 14) is named as pin 10 in Arduino platform.
I found out that Arduino platform using another pin mapping (or naming) and it is NOT related to the physical pin number of the chip. For ATmega328, arduino mapping is as following:
https://www.arduino.cc/en/Hacking/PinMapping168
Therefore, the SS pin (physical pin number is pin 14) is named as pin 10 in Arduino platform.