Questioners know what their hardware and software looks like but the volunteers here do not; you need to fully explain what’s not working, and how it is supposed to work.
Please read all the posting guidelines before asking your questions; follow these guidelines in your post.
Hardware
As always, show us a good schematic of your proposed circuit. Hand drawn schematics are acceptable.
Show us good images of your ‘actual’ wiring.
Give WEB links to your major components.
Software
For readability, place { and } on separate lines by themselves, place each line of code on a separate line.
In the Arduino IDE, use CtrlT or CMDT to format your code, then copy the complete sketch.
Use the < CODE / > icon from the ‘posting menu’ to attach your copied sketch.
When you follow the posting guidelines, volunteers can be more effective.
More volunteers will help if you properly post your questions. (77)
There is no difference between programming for reed switches and any other switch. Don't you find examples of code using switches in the Arduino IDE, program development system?