When I run my hand past the sensor, it usually takes a few attempts before the servo moves. Is this just an issue with the integrity of the PIR rather than the coding?
Try removing the calls to delay.
When I run my hand past the sensor, it usually takes a few attempts before the servo moves. Is this just an issue with the integrity of the PIR rather than the coding?
Try removing the calls to delay.