examples/ftm-input: use ftm to read period between rising and falling ed...

Another example using FTM.