OLED and pulse counting examples