Add blink method.
Fix blink sample.