Need simple script to read 1 ppm signal

    // do your thing here

Keep in mind that "your thing" needs to be very fast, Interrupt handlers are not the place to be sending serial data or other activities that take a lot of time.