Boolean stuck on true, toilet occupancy(help)

almost1234:
However, for some reason, the transmitter side, the Boolean is always stuck on the True side.

Not sure.... seems like some weird stuff in the layout of code here...

{if(check == true){;}
else if(sense == HIGH){check = true;}}

The way you set out your brackets and things like that doesn't look tidy.

Anyway ..... what you could do is it strategically put some print statements (bread-crumb trails) in parts of your 'if' 'case' code....so you can visually see in the serial monitor screen which levels are reached.

almost1234:
The problem is that the boolean become stuck to true after i add the Radiohead code. But, i dont know if the button is the problem

Then simply (temporarily) go back to your 'previous' version of code, without the 'radiohead' code .... to see if your button works there.