LED + Button + ESP32


I habe question, I built this little game with LEDs and buttons

Master : 4 buttons + 4 LEDs

Slave: 1 Button + 2 Led

2 Boards: ESP32

Can someone help me, I try to build the game so that I click on the button on the master side, Led out on the slave side.

Unfortunately have no ideas how to implement it.

2 scripts can be found in the appendix

Thanks in advance.

4_Buttons_4_Leds_Master.ino (9.97 KB)

Push_Botton_2LEDS.ino (4.91 KB)

post formatted code in code tags, please.

post formatted code in code tags, please.

9 kB - may be too long.


english: LED + Button + ESP32 - LEDs and Multiplexing - Arduino Forum
german: 4 Leds + 4 Buttons + ESP NOW - Deutsch - Arduino Forum
german: ESP Now - Deutsch - Arduino Forum

Just in case if you have lost the overview where you have already posted your question: make a bookup of the thread. Stop opening the same question over and over again! Keep track of your postings!