Hello!
Firstly, I've googled all day and haven't find anything really usefull to solve my problem.
I'm using Arduino Micro (Tried several of them), software 1.0.5-r2. Windows 7.
I want to communicate over SPI with several devices, and wanted to use the SS pin of the Arduino Micro as the Slave Select pin for one of the devices. The problem is not about the SPI, but the SS pin.
In my understanding ...the SS pin can be used as an I/O digital pin, and just as an Output pin while using the SPI library.
But...it doesn't seem to work at all. As I said, I know it must be configured as an output pin before starting the SPI library..but even without using the library, It doesn't seem to respond. The RX Led flickers when the program is uploading, and after that it remains OFF. Setting the SS Pin HIGH does not make any change.
I've tried "SS" and "17" in the digital pin functions.
The following is a simple sketch, which should turn ON the RX light (connected to the SS pin). Everything is done in the setup(). The SPI library is not used in this example...the SS pin should respond anyway, shouldn' it?
void setup()
{
pinMode(SS, OUTPUT);
digitalWrite(SS, HIGH);
}
void loop()
{
}
Am I missing something?? Am I doing wrong assumptions?
Any comments and suggestions are welcomed. Thanks a lot!