i am doing arduino based Traffic signal controller, so the project is that when an emergency vehicle(carrying arduino connected with rf trasmitter) when ther is heavy traffic , the traffic signal light will turn into green( of course with arduino connected with rf receiver). i tried this code from the radiohead library but every time when I load the code and run it, the receiver side traffic light keeps working even if rf transmitter is on. so please guys help me out this, my project due is 4 days…i'm totally horrified.
Ideally, you test the parts separately and join them up afterwards.
In this case, (a) the traffic light sequencing with override and (b) the radio communications.
Find a tutorial or example sketch which matches your transmitter/ receiver pair and get that working. For the traffic light sequence don't even imagine you can implement it using delay() statements.