Hi, everybody! Please, answer such a question. How can I change default pin numbers in pins_Arduino.h library? Configuration: 1. Hardware: - Arduino Uno with ATMEGA328P-PU - Multi-function Shield Expansion Board for Arduino (dx.com, aliexpress.com, ets.) 2. Software = arduino-1.0.5-r2
Questions: 1. I think, library "..\arduino-1.0.5-r2\hardware\arduino\variants\standard\pins_library.h" used. Is it right? 2. Multi-function Shield has the same 6-pin and 8-pin connectors as the Arduino, and has two 74HC595 for control of 4-digit 7-segment display. Pins of first 74HC595 has next connects: - Arduino Uno has pin D8 (latch pin (ST_CP)), which must connect to pin 12 of 74HC595. But Multi-function Shield has pin D4, which really connects to pin 12 of 74HC595. And other SPI pins too - D7 of shild connect with D11 of 74HC595, and D8 of shild connect with D14 of 74HC595. It can not be exchange. Because of I can not use SPI.h library, and I must change library pins_Arduino.h (only for this one Arduino). Which pins_Arduino.h library string I must change? Can I change pin numbers directly in program, not in library?