how do i make pulse senor work

Guys help me out I am working with a pulse sensor, it's working fine but I need that it will show the result after 30s's observation.....with a message in the lcd that the heart beat is normal..... please help me solving this issue

Please read the posts at the top of forum sections and dont HIJACK old threads as it is frowned upon.

Topic split.