Problems reading pulse output

Thank you. I changed the analog to a digital read, now I get 0 and 1 in my readings. Which is a lot better. If the power meter is on (so the lamp is on), I get these as my readings from the input.

int input;

void setup() {
  Serial.begin(9600);
}

void loop() {
  input = digitalRead(7);
  Serial.println(input);

}

The frequency of the pulses is just too high for a 7W lamp...

I will take a look at your website now and see if I can figure it out myself! Thank you for sharing.