No different to Arduino, comes on a small modular board with solderpins.
Quick search shows any programming settings on the Arduino IDE.
Whatever floats your boat I guess.
If micros are so difficult for you, just use a low voltage version PIR relay off Ebay or similar.
