Hi
I am a newbie and am trying to do a project involving nrf24l01+ modules, pushbuttons, and LEDs. As my eventual code will have quite a lot of different things going on, I'm trying to build it up slowly. My first code with just one button and one LED connected wirelessly worked fine, but when I added a second button controlling a second LED (basically two different simple wireless button-LED circuits), only one of the buttons made its light turn on.
I replaced all components that could be causing the problem: the button, the LED, the wires, and the resistors. Nothing worked. I have been running around in circles trying to figure out why this isn't working because it feels like if the first code with just one button worked, this should.
Could someone take a look at my badly-written, newbie code and let me know where I'm going wrong. I've linked my code below:
tx
rx
Thanks in advance