03-19-2012 01:52 AM
Does anyone know if it is possible to change the pin outs for the SPI init? The default are:
Arduino Pin 10 - SS - Latch Pin
Arduino Pin 11 - MOSI - Serial In
Arduino Pin 12 - MISO - Data Out
Arduino Pin 13 - SCK - Clock Pin
I already have some hard wired stuff on 11 and 12 and really don't want to move it. I would like to be able to assign the pin numbers myself. Anyone have any experience with this?
Thanks,
Bill
03-28-2012 09:08 AM
I don't think there is a function to do this but you should be able to edit the pin numbers in pins_arduino.h
01-24-2019 01:43 AM
Hi,
Am trying to give a answer for your query,
For previously defined pins, we can't change those IO configurations as we can becz those pin configuration functions already defined(specific function ex:as SEGMENT for LCD) for MCU, we can use other port pins ex:- PF.0,PF.1,PF.2 these bits of F port are used, you can use PF.3 to PF.15(defined pins in schematic).
Thanks
with regards
Vidya yadav
Embedded engineer.