RX_LED/SS This is an additional pin with respect to the Leonardo. It is connected to the RX_LED that indicates the activity of transmission during USB communication, but is can also used as slave select pin (SS) in SPI communication.
Thanks. I didn't know this page. I kind of read the doc7755 in conjunction with EAGLE design files of leo and micro. It doesn't explain whether I can use the SS pin to really select a slave. Please see above.
Not sure what would happen if it's left as input for SS slave and you used RX.
Quote from: Riva on Jun 23, 2014, 09:53 amNot sure what would happen if it's left as input for SS slave and you used RX.Exactly. I did my best reading the hardware serial class code. I couldn't understand what happens.
#define TX_RX_LED_INIT DDRD |= (1<<5), DDRB |= (1<<0)#define TXLED0 PORTD |= (1<<5)#define TXLED1 PORTD &= ~(1<<5)#define RXLED0 PORTB |= (1<<0)#define RXLED1 PORTB &= ~(1<<0)
RXLED1; // light the RX LED RxLEDPulse = TX_RX_LED_PULSE_MS;
PD, // D30 - PD5
_BV(5), // D30 - PD5