I have an AT90CAN128 chip which i have found a bootloader for so i can run arduino sketches on it, but what i want to know is how to work out what the pins are called in software.
so for example there is an LED attached to physical pin 6, through trial and error i found that loading the blink sketch and referring to the LED pin as 36 worked.
i want to access the SPI port on the chip and need to know what the IDE is expecting as far as pin numbering goes and how they relate to the actual hardware.
i assume this must be pretty easy, there must be some sort of list for each chip that the IDE reads when you select a board type, but i am not sure how to find this out.
thanks for the help