HC-SR501 PIR Infrared Motion Sensor

i don't know have code to make it fade up and stay on for a long time like about 10 minutes. and then fade it back down to low light level. never made one of them before.