I want to change pin 10 to another pin due to conflicts. I read in another post that you have to change the library WavePinDefs.h to accommodate the new pin. However, when I looked at this file, pin 10 didn't appear like the rest. I'm not really a programmer so not very acquainted with this type of thing. What do I have to change in the file to change pin 10 to pin 1 (if I can even use pin 1) and how do I accommodate "Warning: SS may be redefined as another pin
but the hardware SS_PIN must be set to output mode before any calls to
WaveHC functions"
How to change pin 10 for Wave Shield?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: How to change pin 10 for Wave Shield?
You can change the pin number in WaveHC/WavePinDefs.h, but the Arduino SPI library is hardcoded with pin 10 as the default CS/SS pin. If you don't define that pin as an output, the SPI code will fail.
You can use pin 10 for other things as long as it's set as an output.
You can use pin 10 for other things as long as it's set as an output.
Please be positive and constructive with your questions and comments.