Lack of pins for both LCD and receiver

Hello,

I'm currently performing of project that aims to exchange data between two Arduino through a pair of NRF24L01 (emitter / receiver) and display the received data on a LCD screen.

  • on one hand, the receiver uses pins 7, 8, 11, 12 and 13
  • on the other hand, the LCD uses pins 2, 3, 4, 5, 11 and 12

How can I solve the fact that both receiver and LCD use the same pins (11 and 12) ?

Thanks for your help.

Simply don't connect them to the same pins and change the code correspondingly...

Without more details that's all I can say.

I like this answer :slight_smile:

I'm using this code for the LCD display : https://www.arduino.cc/en/Tutorial/HelloWorld

I guess I can change this line LiquidCrystal lcd(12, 11, 5, 4, 3, 2); but can I use ANY other port ? for instance LiquidCrystal lcd(10, 9, 5, 4, 3, 2); ?

Yep, it's just using plain old digital IO pins :slight_smile:

cool, thanks for your help :slight_smile: