Have you looked into the sample project for reference?
It has a working example for the blinking effect =)