Python demo program to blink and pulse LED