Test your code by moving your hand in front of the dome shaped sensor and watch the "Intruder" message pass by. Well done, you have made CodeBug see motion! Have a go at adjusting the dials on your PIR sensor to change the sensitivity and test the range of your sensor.