error: missing terminating ' character

hi, learning to use Arduino. my first interest is Infrared Sensors. i have PIR Sensor Module SE-10. i got code but uploading to I/O board getting message: error: missing terminating ’ character.

how to make it work?

code what i have:

’ // example for the PIR motion sensor SE-10

’ int timer = 500;
’ int alarmPin = 0;
’ int alarmValue = 0;
’ int ledPin = 11;

’ void setup () {
’ Serial.begin (9600);
’ pinMode(ledPin, OUTPUT);
’ pinMode(alarmPin, INPUT);
’ delay (2000); // it takes the sensor 2 seconds to scan the area around it before it can
’ detect infrared presence.
’ }

’ void loop (){
’ alarmValue = analogRead(alarmPin);

’ if (alarmValue < 100){
’ blinky(); // blinks when the motion has been detected, just for confirmation.
’ }
’ delay(timer);

’ Serial.println (alarmValue);

’ delay (10);

’ }

’ void blinky() {
’ for(int i=0; i<3; i++) {
’ digitalWrite(11,HIGH);
’ delay(200);
’ digitalWrite(11,LOW);
’ delay(200);
’ }
’ }

Er, is this an actual copy of your program? The only "'" chars I see are at the beginning of each line.

This is a cross post - answered in another section of the forum.

Please don't cross post again.